Schema LetterBundle_V1x0.xsd


schema location ..\LetterBundle_V1x0.xsd
attributeFormDefault unqualified
elementFormDefault qualified
targetNamespace urn:itella.com:/schema/ipost/letterbundle/v1x0
 
Elements  Complex types  Simple types 
Bundle  BankAccountType  BBANType 
BundleCommon  BundleLetter  BICType 
Letter  ElectronicAddressType  IBANType 
LetterBundle  MailAddress 
LetterMeta  TextWithLanguageType 
Processing 


element Bundle
diagram LetterBundle_V1x0_p1.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
content complex
children lb:BundleCommon lb:Letter
used by
element LetterBundle
attributes
Name  Type  Use  Default  Fixed  Annotation
senderBundleId  xs:string  optional      
documentation
Sender's Id for the bundle.
bundleId  xs:string  optional      
documentation
Posti set this ID for the bundle.
annotation
documentation
One collection of letters
source <xs:element name="Bundle">
 
<xs:annotation>
   
<xs:documentation>One collection of letters</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element ref="lb:BundleCommon">
       
<xs:annotation>
         
<xs:documentation>Common data for the  letter collection</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element ref="lb:Letter" minOccurs="0" maxOccurs="unbounded"/>
   
</xs:sequence>
   
<xs:attribute name="senderBundleId" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>Sender's Id for the bundle.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="bundleId" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>Posti set this ID for the bundle.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute Bundle/@senderBundleId
type xs:string
properties
use optional
annotation
documentation
Sender's Id for the bundle.
source <xs:attribute name="senderBundleId" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>Sender's Id for the bundle.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute Bundle/@bundleId
type xs:string
properties
use optional
annotation
documentation
Posti set this ID for the bundle.
source <xs:attribute name="bundleId" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>Posti set this ID for the bundle.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element BundleCommon
diagram LetterBundle_V1x0_p2.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
content complex
children lb:BundleLabel lb:Sender lb:StdBundleProcessing lb:BundleProcessingSet lb:DeliveryChannelControl lb:ExternalFile
used by
element Bundle
attributes
Name  Type  Use  Default  Fixed  Annotation
isTest  xs:boolean  optional  false    
documentation
Is this letter collection used as test sending to Posti.
creationDate  xs:dateTime  optional      
documentation
The creation date of the this bundle.
annotation
documentation
Common data for the bundle
source <xs:element name="BundleCommon">
 
<xs:annotation>
   
<xs:documentation>Common data for the bundle</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="BundleLabel" type="xs:string" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Label for the bundle. Can be used for example to include addtiotional ID's for the bundle.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Sender">
       
<xs:annotation>
         
<xs:documentation>One bundle of letter can have only one sender. In this element the sender means the sender of the data to Posti.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="SenderAddress" type="lb:MailAddress" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>The sender mail address for the whole bundle.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
         
<xs:attribute name="ovtID" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>OVT ID (SFS 5748 ) of the original sender of whole bundle. </xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="contact" type="xs:string" use="required">
           
<xs:annotation>
             
<xs:documentation>The contact information of the sender as free text format. The sender is who sent the data to Posti. Example: "email, phoneNumber". This information is used, if error occurred during the data processing in the Posti. </xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="companyName" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>The company name of the sender, who sent the data to Posti. This information is used, if error occurred during the data processing in Posti. </xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="contactPerson" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>The contact person name of the sender.  The sender is who sent the data to Posti. This information is used, if error occurred during the data processing in Posti. </xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="phoneNumber" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>The phone number of the sender.  The sender is who sent the data to Posti. This information is used, if error occurred during the data processing in Posti. </xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="email" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>The email address of the sender.  The sender is who sent the data to Posti. This information is used, if error occurred during the data processing in Posti. </xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="StdBundleProcessing" minOccurs="0">
       
<xs:complexType>
         
<xs:attribute name="customerId" use="required">
           
<xs:simpleType>
             
<xs:restriction base="xs:string">
               
<xs:length value="6"/>
             
</xs:restriction>
           
</xs:simpleType>
         
</xs:attribute>
         
<xs:attribute name="password" use="required">
           
<xs:simpleType>
             
<xs:restriction base="xs:string">
               
<xs:length value="4"/>
             
</xs:restriction>
           
</xs:simpleType>
         
</xs:attribute>
         
<xs:attribute name="serviceFunction" use="required">
           
<xs:simpleType>
             
<xs:restriction base="xs:string">
               
<xs:length value="1"/>
             
</xs:restriction>
           
</xs:simpleType>
         
</xs:attribute>
         
<xs:attribute name="electronicArchiving" use="required">
           
<xs:simpleType>
             
<xs:restriction base="xs:string">
               
<xs:length value="1"/>
             
</xs:restriction>
           
</xs:simpleType>
         
</xs:attribute>
         
<xs:attribute name="letterClass" use="required">
           
<xs:annotation>
             
<xs:documentation>1 = Priority
2 = Economy
3 = Registered
4 = Advise of delivery.
</xs:documentation>
           
</xs:annotation>
           
<xs:simpleType>
             
<xs:restriction base="xs:string">
               
<xs:length value="1"/>
             
</xs:restriction>
           
</xs:simpleType>
         
</xs:attribute>
         
<xs:attribute name="envelope" use="required">
           
<xs:simpleType>
             
<xs:restriction base="xs:string">
               
<xs:length value="1"/>
             
</xs:restriction>
           
</xs:simpleType>
         
</xs:attribute>
         
<xs:attribute name="paper" use="required">
           
<xs:simpleType>
             
<xs:restriction base="xs:string">
               
<xs:length value="1"/>
             
</xs:restriction>
           
</xs:simpleType>
         
</xs:attribute>
         
<xs:attribute name="fileFormat" use="optional" default="0">
           
<xs:annotation>
             
<xs:documentation>In iPost PDF only 0 is allowed.</xs:documentation>
           
</xs:annotation>
           
<xs:simpleType>
             
<xs:restriction base="xs:string">
               
<xs:length value="1"/>
             
</xs:restriction>
           
</xs:simpleType>
         
</xs:attribute>
         
<xs:attribute name="departmentClassification" type="xs:boolean" use="optional" default="false"/>
         
<xs:attribute name="archivingApplicationID" use="optional">
           
<xs:simpleType>
             
<xs:restriction base="xs:string">
               
<xs:whiteSpace value="preserve"/>
               
<xs:length value="2"/>
             
</xs:restriction>
           
</xs:simpleType>
         
</xs:attribute>
         
<xs:attribute name="isDuplex" type="xs:boolean" use="optional">
           
<xs:annotation>
             
<xs:documentation>Mandatory for iPost PDF</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="BundleProcessingSet" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>These processing settings are for special cases, when the StdLetterProcessing element has not enough information. The bundleProcessingSet defines what processing elements are required in the BUNDLE LEVEL. Posti defines what processingSetIds are available.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element ref="lb:Processing" minOccurs="0" maxOccurs="unbounded">
             
<xs:annotation>
               
<xs:documentation>Posti defines what processing elements are required for this work in the bundle level or in the letter level.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
         
<xs:attribute name="id" type="xs:string" use="required">
           
<xs:annotation>
             
<xs:documentation>The ID of the the processing set</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="DeliveryChannelControl" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="RestrictMatchingForElectronicDelivery" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>If the letter will be delivered in electronic channel, this element controls what data can be used for matching the recipient. The default is that anything can use. If this element exist, only attributes that has true value, can be used. Notice: The used electronic delivery channel may not implement all these recipient matching possibilities. Example of usage: If the sender wants that only SSN is used for matching the recipient then set the recipientSSN attribute to True.</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:attribute name="recipientSSN" type="xs:boolean" use="optional" default="false">
                 
<xs:annotation>
                   
<xs:documentation>The social security number (HETU in Finnish) of the recipient. </xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="recipientPhoneNumber" type="xs:boolean" use="optional" default="false">
                 
<xs:annotation>
                   
<xs:documentation>The telephone number of the recipient of the letter.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="recipientEmailAddress" type="xs:boolean" use="optional" default="false">
                 
<xs:annotation>
                   
<xs:documentation>The email of the recipient. </xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="recipientCustomerCode" type="xs:boolean" use="optional" default="false">
                 
<xs:annotation>
                   
<xs:documentation>The customer code of the recipient.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="recipientIBAN" type="xs:boolean" use="optional" default="false">
                 
<xs:annotation>
                   
<xs:documentation>The IBAN (International Bank Account Number) of the recipient.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="recipientAddress" type="xs:boolean" use="optional" default="false">
                 
<xs:annotation>
                   
<xs:documentation>The recipient mail address</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="recipientElectronicAddress" type="xs:boolean" use="optional" default="false">
                 
<xs:annotation>
                   
<xs:documentation>Electronic addresses of the recipient.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="recipientOvtID" type="xs:boolean" use="optional" default="false">
                 
<xs:annotation>
                   
<xs:documentation>Recipient OVT ID</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
         
<xs:attribute name="denyElectronicCopyDelivery" type="xs:boolean" use="optional" default="false">
           
<xs:annotation>
             
<xs:documentation>If the value is true then do NOT SEND COPY into the electronic channel. Netposti is for example an electronic delivery channel for letters.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="denyElectronicOnlyDelivery" type="xs:boolean" use="optional" default="false">
           
<xs:annotation>
             
<xs:documentation>If the value is true then do NOT send the letter using ONLY electronic channel. Netposti is for example an electronic delivery channel for letters.
If the value is false (default) the  letter may delivered using ONLY electronic channel if the recipient of the letter is matched with the user in the electronic channel.
</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="ExternalFile" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>If letter data is in separate file, then this element contains the file data. If this is set, then each letter must have the letter location data in the file.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="CheckSum" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>The check sum of the data file.</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:attribute name="type" use="required">
                 
<xs:simpleType>
                   
<xs:restriction base="xs:string">
                     
<xs:whiteSpace value="collapse"/>
                     
<xs:enumeration value="NONE"/>
                     
<xs:enumeration value="MD5"/>
                   
</xs:restriction>
                 
</xs:simpleType>
               
</xs:attribute>
               
<xs:attribute name="value" use="required">
                 
<xs:simpleType>
                   
<xs:restriction base="xs:string">
                     
<xs:whiteSpace value="preserve"/>
                   
</xs:restriction>
                 
</xs:simpleType>
               
</xs:attribute>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
         
<xs:attribute name="fileName" use="required">
           
<xs:annotation>
             
<xs:documentation>The name of the file without the path. The LetterBundle xml file and the data file must be located in the same directory.</xs:documentation>
           
</xs:annotation>
           
<xs:simpleType>
             
<xs:restriction base="xs:string">
               
<xs:whiteSpace value="preserve"/>
               
<xs:pattern value="[-a-zA-ZåäöÅÄÖ0-9_. ]*"/>
             
</xs:restriction>
           
</xs:simpleType>
         
</xs:attribute>
         
<xs:attribute name="senderFileId" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>Sender's ID for the DATA file.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="fileId" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>Posti sets this ID for the DATA file.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
   
<xs:attribute name="isTest" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>Is this letter collection used as test sending to Posti.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="creationDate" type="xs:dateTime" use="optional">
     
<xs:annotation>
       
<xs:documentation>The creation date of the this bundle.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute BundleCommon/@isTest
type xs:boolean
properties
use optional
default false
annotation
documentation
Is this letter collection used as test sending to Posti.
source <xs:attribute name="isTest" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>Is this letter collection used as test sending to Posti.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute BundleCommon/@creationDate
type xs:dateTime
properties
use optional
annotation
documentation
The creation date of the this bundle.
source <xs:attribute name="creationDate" type="xs:dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>The creation date of the this bundle.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element BundleCommon/BundleLabel
diagram LetterBundle_V1x0_p3.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type xs:string
properties
minOcc 0
maxOcc unbounded
content simple
annotation
documentation
Label for the bundle. Can be used for example to include addtiotional ID's for the bundle.
source <xs:element name="BundleLabel" type="xs:string" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Label for the bundle. Can be used for example to include addtiotional ID's for the bundle.</xs:documentation>
 
</xs:annotation>
</xs:element>

element BundleCommon/Sender
diagram LetterBundle_V1x0_p4.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
content complex
children lb:SenderAddress
attributes
Name  Type  Use  Default  Fixed  Annotation
ovtID  xs:string  optional      
documentation
OVT ID (SFS 5748 ) of the original sender of whole bundle.
contact  xs:string  required      
documentation
The contact information of the sender as free text format. The sender is who sent the data to Posti. Example: "email, phoneNumber". This information is used, if error occurred during the data processing in the Posti.
companyName  xs:string  optional      
documentation
The company name of the sender, who sent the data to Posti. This information is used, if error occurred during the data processing in Posti.
contactPerson  xs:string  optional      
documentation
The contact person name of the sender.  The sender is who sent the data to Posti. This information is used, if error occurred during the data processing in Posti.
phoneNumber  xs:string  optional      
documentation
The phone number of the sender.  The sender is who sent the data to Posti. This information is used, if error occurred during the data processing in Posti.
email  xs:string  optional      
documentation
The email address of the sender.  The sender is who sent the data to Posti. This information is used, if error occurred during the data processing in Posti.
annotation
documentation
One bundle of letter can have only one sender. In this element the sender means the sender of the data to Posti.
source <xs:element name="Sender">
 
<xs:annotation>
   
<xs:documentation>One bundle of letter can have only one sender. In this element the sender means the sender of the data to Posti.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="SenderAddress" type="lb:MailAddress" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>The sender mail address for the whole bundle.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
   
<xs:attribute name="ovtID" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>OVT ID (SFS 5748 ) of the original sender of whole bundle. </xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="contact" type="xs:string" use="required">
     
<xs:annotation>
       
<xs:documentation>The contact information of the sender as free text format. The sender is who sent the data to Posti. Example: "email, phoneNumber". This information is used, if error occurred during the data processing in the Posti. </xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="companyName" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>The company name of the sender, who sent the data to Posti. This information is used, if error occurred during the data processing in Posti. </xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="contactPerson" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>The contact person name of the sender.  The sender is who sent the data to Posti. This information is used, if error occurred during the data processing in Posti. </xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="phoneNumber" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>The phone number of the sender.  The sender is who sent the data to Posti. This information is used, if error occurred during the data processing in Posti. </xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="email" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>The email address of the sender.  The sender is who sent the data to Posti. This information is used, if error occurred during the data processing in Posti. </xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute BundleCommon/Sender/@ovtID
type xs:string
properties
use optional
annotation
documentation
OVT ID (SFS 5748 ) of the original sender of whole bundle.
source <xs:attribute name="ovtID" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>OVT ID (SFS 5748 ) of the original sender of whole bundle. </xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute BundleCommon/Sender/@contact
type xs:string
properties
use required
annotation
documentation
The contact information of the sender as free text format. The sender is who sent the data to Posti. Example: "email, phoneNumber". This information is used, if error occurred during the data processing in the Posti.
source <xs:attribute name="contact" type="xs:string" use="required">
 
<xs:annotation>
   
<xs:documentation>The contact information of the sender as free text format. The sender is who sent the data to Posti. Example: "email, phoneNumber". This information is used, if error occurred during the data processing in the Posti. </xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute BundleCommon/Sender/@companyName
type xs:string
properties
use optional
annotation
documentation
The company name of the sender, who sent the data to Posti. This information is used, if error occurred during the data processing in Posti.
source <xs:attribute name="companyName" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>The company name of the sender, who sent the data to Posti. This information is used, if error occurred during the data processing in Posti. </xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute BundleCommon/Sender/@contactPerson
type xs:string
properties
use optional
annotation
documentation
The contact person name of the sender.  The sender is who sent the data to Posti. This information is used, if error occurred during the data processing in Posti.
source <xs:attribute name="contactPerson" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>The contact person name of the sender.  The sender is who sent the data to Posti. This information is used, if error occurred during the data processing in Posti. </xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute BundleCommon/Sender/@phoneNumber
type xs:string
properties
use optional
annotation
documentation
The phone number of the sender.  The sender is who sent the data to Posti. This information is used, if error occurred during the data processing in Posti.
source <xs:attribute name="phoneNumber" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>The phone number of the sender.  The sender is who sent the data to Posti. This information is used, if error occurred during the data processing in Posti. </xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute BundleCommon/Sender/@email
type xs:string
properties
use optional
annotation
documentation
The email address of the sender.  The sender is who sent the data to Posti. This information is used, if error occurred during the data processing in Posti.
source <xs:attribute name="email" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>The email address of the sender.  The sender is who sent the data to Posti. This information is used, if error occurred during the data processing in Posti. </xs:documentation>
 
</xs:annotation>
</xs:attribute>

element BundleCommon/Sender/SenderAddress
diagram LetterBundle_V1x0_p5.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type lb:MailAddress
properties
minOcc 0
maxOcc 1
content complex
children lb:Eu1
annotation
documentation
The sender mail address for the whole bundle.
source <xs:element name="SenderAddress" type="lb:MailAddress" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The sender mail address for the whole bundle.</xs:documentation>
 
</xs:annotation>
</xs:element>

element BundleCommon/StdBundleProcessing
diagram LetterBundle_V1x0_p6.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
customerId  derived by: xs:string  required      
password  derived by: xs:string  required      
serviceFunction  derived by: xs:string  required      
electronicArchiving  derived by: xs:string  required      
letterClass  derived by: xs:string  required      
documentation
1 = Priority
2 = Economy
3 = Registered
4 = Advise of delivery.
envelope  derived by: xs:string  required      
paper  derived by: xs:string  required      
fileFormat  derived by: xs:string  optional  0    
documentation
In iPost PDF only 0 is allowed.
departmentClassification  xs:boolean  optional  false    
archivingApplicationID  derived by: xs:string  optional      
isDuplex  xs:boolean  optional      
documentation
Mandatory for iPost PDF
source <xs:element name="StdBundleProcessing" minOccurs="0">
 
<xs:complexType>
   
<xs:attribute name="customerId" use="required">
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:length value="6"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="password" use="required">
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:length value="4"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="serviceFunction" use="required">
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:length value="1"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="electronicArchiving" use="required">
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:length value="1"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="letterClass" use="required">
     
<xs:annotation>
       
<xs:documentation>1 = Priority
2 = Economy
3 = Registered
4 = Advise of delivery.
</xs:documentation>
     
</xs:annotation>
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:length value="1"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="envelope" use="required">
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:length value="1"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="paper" use="required">
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:length value="1"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="fileFormat" use="optional" default="0">
     
<xs:annotation>
       
<xs:documentation>In iPost PDF only 0 is allowed.</xs:documentation>
     
</xs:annotation>
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:length value="1"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="departmentClassification" type="xs:boolean" use="optional" default="false"/>
   
<xs:attribute name="archivingApplicationID" use="optional">
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:whiteSpace value="preserve"/>
         
<xs:length value="2"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="isDuplex" type="xs:boolean" use="optional">
     
<xs:annotation>
       
<xs:documentation>Mandatory for iPost PDF</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute BundleCommon/StdBundleProcessing/@customerId
type restriction of xs:string
properties
use required
facets
Kind Value Annotation
length 6
source <xs:attribute name="customerId" use="required">
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:length value="6"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute BundleCommon/StdBundleProcessing/@password
type restriction of xs:string
properties
use required
facets
Kind Value Annotation
length 4
source <xs:attribute name="password" use="required">
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:length value="4"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute BundleCommon/StdBundleProcessing/@serviceFunction
type restriction of xs:string
properties
use required
facets
Kind Value Annotation
length 1
source <xs:attribute name="serviceFunction" use="required">
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:length value="1"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute BundleCommon/StdBundleProcessing/@electronicArchiving
type restriction of xs:string
properties
use required
facets
Kind Value Annotation
length 1
source <xs:attribute name="electronicArchiving" use="required">
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:length value="1"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute BundleCommon/StdBundleProcessing/@letterClass
type restriction of xs:string
properties
use required
facets
Kind Value Annotation
length 1
annotation
documentation
1 = Priority
2 = Economy
3 = Registered
4 = Advise of delivery.
source <xs:attribute name="letterClass" use="required">
 
<xs:annotation>
   
<xs:documentation>1 = Priority
2 = Economy
3 = Registered
4 = Advise of delivery.
</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:length value="1"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute BundleCommon/StdBundleProcessing/@envelope
type restriction of xs:string
properties
use required
facets
Kind Value Annotation
length 1
source <xs:attribute name="envelope" use="required">
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:length value="1"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute BundleCommon/StdBundleProcessing/@paper
type restriction of xs:string
properties
use required
facets
Kind Value Annotation
length 1
source <xs:attribute name="paper" use="required">
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:length value="1"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute BundleCommon/StdBundleProcessing/@fileFormat
type restriction of xs:string
properties
use optional
default 0
facets
Kind Value Annotation
length 1
annotation
documentation
In iPost PDF only 0 is allowed.
source <xs:attribute name="fileFormat" use="optional" default="0">
 
<xs:annotation>
   
<xs:documentation>In iPost PDF only 0 is allowed.</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:length value="1"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute BundleCommon/StdBundleProcessing/@departmentClassification
type xs:boolean
properties
use optional
default false
source <xs:attribute name="departmentClassification" type="xs:boolean" use="optional" default="false"/>

attribute BundleCommon/StdBundleProcessing/@archivingApplicationID
type restriction of xs:string
properties
use optional
facets
Kind Value Annotation
length 2
whiteSpace preserve
source <xs:attribute name="archivingApplicationID" use="optional">
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:whiteSpace value="preserve"/>
     
<xs:length value="2"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute BundleCommon/StdBundleProcessing/@isDuplex
type xs:boolean
properties
use optional
annotation
documentation
Mandatory for iPost PDF
source <xs:attribute name="isDuplex" type="xs:boolean" use="optional">
 
<xs:annotation>
   
<xs:documentation>Mandatory for iPost PDF</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element BundleCommon/BundleProcessingSet
diagram LetterBundle_V1x0_p7.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
minOcc 0
maxOcc unbounded
content complex
children lb:Processing
attributes
Name  Type  Use  Default  Fixed  Annotation
id  xs:string  required      
documentation
The ID of the the processing set
annotation
documentation
These processing settings are for special cases, when the StdLetterProcessing element has not enough information. The bundleProcessingSet defines what processing elements are required in the BUNDLE LEVEL. Posti defines what processingSetIds are available.
source <xs:element name="BundleProcessingSet" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>These processing settings are for special cases, when the StdLetterProcessing element has not enough information. The bundleProcessingSet defines what processing elements are required in the BUNDLE LEVEL. Posti defines what processingSetIds are available.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element ref="lb:Processing" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Posti defines what processing elements are required for this work in the bundle level or in the letter level.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
   
<xs:attribute name="id" type="xs:string" use="required">
     
<xs:annotation>
       
<xs:documentation>The ID of the the processing set</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute BundleCommon/BundleProcessingSet/@id
type xs:string
properties
use required
annotation
documentation
The ID of the the processing set
source <xs:attribute name="id" type="xs:string" use="required">
 
<xs:annotation>
   
<xs:documentation>The ID of the the processing set</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element BundleCommon/DeliveryChannelControl
diagram LetterBundle_V1x0_p8.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
minOcc 0
maxOcc 1
content complex
children lb:RestrictMatchingForElectronicDelivery
attributes
Name  Type  Use  Default  Fixed  Annotation
denyElectronicCopyDelivery  xs:boolean  optional  false    
documentation
If the value is true then do NOT SEND COPY into the electronic channel. Netposti is for example an electronic delivery channel for letters.
denyElectronicOnlyDelivery  xs:boolean  optional  false    
documentation
If the value is true then do NOT send the letter using ONLY electronic channel. Netposti is for example an electronic delivery channel for letters.
If the value is false (default) the  letter may delivered using ONLY electronic channel if the recipient of the letter is matched with the user in the electronic channel.
source <xs:element name="DeliveryChannelControl" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="RestrictMatchingForElectronicDelivery" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>If the letter will be delivered in electronic channel, this element controls what data can be used for matching the recipient. The default is that anything can use. If this element exist, only attributes that has true value, can be used. Notice: The used electronic delivery channel may not implement all these recipient matching possibilities. Example of usage: If the sender wants that only SSN is used for matching the recipient then set the recipientSSN attribute to True.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:attribute name="recipientSSN" type="xs:boolean" use="optional" default="false">
           
<xs:annotation>
             
<xs:documentation>The social security number (HETU in Finnish) of the recipient. </xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="recipientPhoneNumber" type="xs:boolean" use="optional" default="false">
           
<xs:annotation>
             
<xs:documentation>The telephone number of the recipient of the letter.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="recipientEmailAddress" type="xs:boolean" use="optional" default="false">
           
<xs:annotation>
             
<xs:documentation>The email of the recipient. </xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="recipientCustomerCode" type="xs:boolean" use="optional" default="false">
           
<xs:annotation>
             
<xs:documentation>The customer code of the recipient.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="recipientIBAN" type="xs:boolean" use="optional" default="false">
           
<xs:annotation>
             
<xs:documentation>The IBAN (International Bank Account Number) of the recipient.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="recipientAddress" type="xs:boolean" use="optional" default="false">
           
<xs:annotation>
             
<xs:documentation>The recipient mail address</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="recipientElectronicAddress" type="xs:boolean" use="optional" default="false">
           
<xs:annotation>
             
<xs:documentation>Electronic addresses of the recipient.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="recipientOvtID" type="xs:boolean" use="optional" default="false">
           
<xs:annotation>
             
<xs:documentation>Recipient OVT ID</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
   
<xs:attribute name="denyElectronicCopyDelivery" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>If the value is true then do NOT SEND COPY into the electronic channel. Netposti is for example an electronic delivery channel for letters.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="denyElectronicOnlyDelivery" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>If the value is true then do NOT send the letter using ONLY electronic channel. Netposti is for example an electronic delivery channel for letters.
If the value is false (default) the  letter may delivered using ONLY electronic channel if the recipient of the letter is matched with the user in the electronic channel.
</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute BundleCommon/DeliveryChannelControl/@denyElectronicCopyDelivery
type xs:boolean
properties
use optional
default false
annotation
documentation
If the value is true then do NOT SEND COPY into the electronic channel. Netposti is for example an electronic delivery channel for letters.
source <xs:attribute name="denyElectronicCopyDelivery" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>If the value is true then do NOT SEND COPY into the electronic channel. Netposti is for example an electronic delivery channel for letters.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute BundleCommon/DeliveryChannelControl/@denyElectronicOnlyDelivery
type xs:boolean
properties
use optional
default false
annotation
documentation
If the value is true then do NOT send the letter using ONLY electronic channel. Netposti is for example an electronic delivery channel for letters.
If the value is false (default) the  letter may delivered using ONLY electronic channel if the recipient of the letter is matched with the user in the electronic channel.
source <xs:attribute name="denyElectronicOnlyDelivery" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>If the value is true then do NOT send the letter using ONLY electronic channel. Netposti is for example an electronic delivery channel for letters.
If the value is false (default) the  letter may delivered using ONLY electronic channel if the recipient of the letter is matched with the user in the electronic channel.
</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element BundleCommon/DeliveryChannelControl/RestrictMatchingForElectronicDelivery
diagram LetterBundle_V1x0_p9.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
recipientSSN  xs:boolean  optional  false    
documentation
The social security number (HETU in Finnish) of the recipient.
recipientPhoneNumber  xs:boolean  optional  false    
documentation
The telephone number of the recipient of the letter.
recipientEmailAddress  xs:boolean  optional  false    
documentation
The email of the recipient.
recipientCustomerCode  xs:boolean  optional  false    
documentation
The customer code of the recipient.
recipientIBAN  xs:boolean  optional  false    
documentation
The IBAN (International Bank Account Number) of the recipient.
recipientAddress  xs:boolean  optional  false    
documentation
The recipient mail address
recipientElectronicAddress  xs:boolean  optional  false    
documentation
Electronic addresses of the recipient.
recipientOvtID  xs:boolean  optional  false    
documentation
Recipient OVT ID
annotation
documentation
If the letter will be delivered in electronic channel, this element controls what data can be used for matching the recipient. The default is that anything can use. If this element exist, only attributes that has true value, can be used. Notice: The used electronic delivery channel may not implement all these recipient matching possibilities. Example of usage: If the sender wants that only SSN is used for matching the recipient then set the recipientSSN attribute to True.
source <xs:element name="RestrictMatchingForElectronicDelivery" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If the letter will be delivered in electronic channel, this element controls what data can be used for matching the recipient. The default is that anything can use. If this element exist, only attributes that has true value, can be used. Notice: The used electronic delivery channel may not implement all these recipient matching possibilities. Example of usage: If the sender wants that only SSN is used for matching the recipient then set the recipientSSN attribute to True.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:attribute name="recipientSSN" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>The social security number (HETU in Finnish) of the recipient. </xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="recipientPhoneNumber" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>The telephone number of the recipient of the letter.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="recipientEmailAddress" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>The email of the recipient. </xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="recipientCustomerCode" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>The customer code of the recipient.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="recipientIBAN" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>The IBAN (International Bank Account Number) of the recipient.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="recipientAddress" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>The recipient mail address</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="recipientElectronicAddress" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>Electronic addresses of the recipient.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="recipientOvtID" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>Recipient OVT ID</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute BundleCommon/DeliveryChannelControl/RestrictMatchingForElectronicDelivery/@recipientSSN
type xs:boolean
properties
use optional
default false
annotation
documentation
The social security number (HETU in Finnish) of the recipient.
source <xs:attribute name="recipientSSN" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>The social security number (HETU in Finnish) of the recipient. </xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute BundleCommon/DeliveryChannelControl/RestrictMatchingForElectronicDelivery/@recipientPhoneNumber
type xs:boolean
properties
use optional
default false
annotation
documentation
The telephone number of the recipient of the letter.
source <xs:attribute name="recipientPhoneNumber" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>The telephone number of the recipient of the letter.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute BundleCommon/DeliveryChannelControl/RestrictMatchingForElectronicDelivery/@recipientEmailAddress
type xs:boolean
properties
use optional
default false
annotation
documentation
The email of the recipient.
source <xs:attribute name="recipientEmailAddress" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>The email of the recipient. </xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute BundleCommon/DeliveryChannelControl/RestrictMatchingForElectronicDelivery/@recipientCustomerCode
type xs:boolean
properties
use optional
default false
annotation
documentation
The customer code of the recipient.
source <xs:attribute name="recipientCustomerCode" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>The customer code of the recipient.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute BundleCommon/DeliveryChannelControl/RestrictMatchingForElectronicDelivery/@recipientIBAN
type xs:boolean
properties
use optional
default false
annotation
documentation
The IBAN (International Bank Account Number) of the recipient.
source <xs:attribute name="recipientIBAN" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>The IBAN (International Bank Account Number) of the recipient.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute BundleCommon/DeliveryChannelControl/RestrictMatchingForElectronicDelivery/@recipientAddress
type xs:boolean
properties
use optional
default false
annotation
documentation
The recipient mail address
source <xs:attribute name="recipientAddress" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>The recipient mail address</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute BundleCommon/DeliveryChannelControl/RestrictMatchingForElectronicDelivery/@recipientElectronicAddress
type xs:boolean
properties
use optional
default false
annotation
documentation
Electronic addresses of the recipient.
source <xs:attribute name="recipientElectronicAddress" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>Electronic addresses of the recipient.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute BundleCommon/DeliveryChannelControl/RestrictMatchingForElectronicDelivery/@recipientOvtID
type xs:boolean
properties
use optional
default false
annotation
documentation
Recipient OVT ID
source <xs:attribute name="recipientOvtID" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>Recipient OVT ID</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element BundleCommon/ExternalFile
diagram LetterBundle_V1x0_p10.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
minOcc 0
maxOcc 1
content complex
children lb:CheckSum
attributes
Name  Type  Use  Default  Fixed  Annotation
fileName  derived by: xs:string  required      
documentation
The name of the file without the path. The LetterBundle xml file and the data file must be located in the same directory.
senderFileId  xs:string  optional      
documentation
Sender's ID for the DATA file.
fileId  xs:string  optional      
documentation
Posti sets this ID for the DATA file.
annotation
documentation
If letter data is in separate file, then this element contains the file data. If this is set, then each letter must have the letter location data in the file.
source <xs:element name="ExternalFile" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If letter data is in separate file, then this element contains the file data. If this is set, then each letter must have the letter location data in the file.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="CheckSum" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>The check sum of the data file.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:attribute name="type" use="required">
           
<xs:simpleType>
             
<xs:restriction base="xs:string">
               
<xs:whiteSpace value="collapse"/>
               
<xs:enumeration value="NONE"/>
               
<xs:enumeration value="MD5"/>
             
</xs:restriction>
           
</xs:simpleType>
         
</xs:attribute>
         
<xs:attribute name="value" use="required">
           
<xs:simpleType>
             
<xs:restriction base="xs:string">
               
<xs:whiteSpace value="preserve"/>
             
</xs:restriction>
           
</xs:simpleType>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
   
<xs:attribute name="fileName" use="required">
     
<xs:annotation>
       
<xs:documentation>The name of the file without the path. The LetterBundle xml file and the data file must be located in the same directory.</xs:documentation>
     
</xs:annotation>
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:whiteSpace value="preserve"/>
         
<xs:pattern value="[-a-zA-ZåäöÅÄÖ0-9_. ]*"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="senderFileId" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>Sender's ID for the DATA file.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="fileId" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>Posti sets this ID for the DATA file.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute BundleCommon/ExternalFile/@fileName
type restriction of xs:string
properties
use required
facets
Kind Value Annotation
whiteSpace preserve
pattern [-a-zA-ZåäöÅÄÖ0-9_. ]*
annotation
documentation
The name of the file without the path. The LetterBundle xml file and the data file must be located in the same directory.
source <xs:attribute name="fileName" use="required">
 
<xs:annotation>
   
<xs:documentation>The name of the file without the path. The LetterBundle xml file and the data file must be located in the same directory.</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:whiteSpace value="preserve"/>
     
<xs:pattern value="[-a-zA-ZåäöÅÄÖ0-9_. ]*"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute BundleCommon/ExternalFile/@senderFileId
type xs:string
properties
use optional
annotation
documentation
Sender's ID for the DATA file.
source <xs:attribute name="senderFileId" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>Sender's ID for the DATA file.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute BundleCommon/ExternalFile/@fileId
type xs:string
properties
use optional
annotation
documentation
Posti sets this ID for the DATA file.
source <xs:attribute name="fileId" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>Posti sets this ID for the DATA file.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element BundleCommon/ExternalFile/CheckSum
diagram LetterBundle_V1x0_p11.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
type  derived by: xs:string  required      
value  derived by: xs:string  required      
annotation
documentation
The check sum of the data file.
source <xs:element name="CheckSum" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The check sum of the data file.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:attribute name="type" use="required">
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:whiteSpace value="collapse"/>
         
<xs:enumeration value="NONE"/>
         
<xs:enumeration value="MD5"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="value" use="required">
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:whiteSpace value="preserve"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute BundleCommon/ExternalFile/CheckSum/@type
type restriction of xs:string
properties
use required
facets
Kind Value Annotation
whiteSpace collapse
enumeration NONE
enumeration MD5
source <xs:attribute name="type" use="required">
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:whiteSpace value="collapse"/>
     
<xs:enumeration value="NONE"/>
     
<xs:enumeration value="MD5"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute BundleCommon/ExternalFile/CheckSum/@value
type restriction of xs:string
properties
use required
facets
Kind Value Annotation
whiteSpace preserve
source <xs:attribute name="value" use="required">
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:whiteSpace value="preserve"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

element Letter
diagram LetterBundle_V1x0_p12.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type lb:BundleLetter
properties
content complex
children lb:LetterMeta
used by
element Bundle
attributes
Name  Type  Use  Default  Fixed  Annotation
senderLetterId          
documentation
Sender's ID for the letter.
letterId  xs:string  optional      
documentation
Posti set this ID for the letter.
annotation
documentation
One letter
source <xs:element name="Letter" type="lb:BundleLetter">
 
<xs:annotation>
   
<xs:documentation>One letter</xs:documentation>
 
</xs:annotation>
</xs:element>

element LetterBundle
diagram LetterBundle_V1x0_p13.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
content complex
children lb:Bundle
attributes
Name  Type  Use  Default  Fixed  Annotation
schemaVersion  xs:string  required    v1x0  
documentation
The schema version that the xml file is using.
senderFileId  xs:string  optional      
documentation
Sender's ID for the file.
fileId  xs:string  optional      
documentation
Posti set this ID for the XML file.
annotation
documentation
The root element. Contains letter collections that will be sent to Posti.
source <xs:element name="LetterBundle">
 
<xs:annotation>
   
<xs:documentation>The root element. Contains letter collections that will be sent to Posti.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element ref="lb:Bundle">
       
<xs:annotation>
         
<xs:documentation>One collection of letters</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
   
<xs:attribute name="schemaVersion" type="xs:string" use="required" fixed="v1x0">
     
<xs:annotation>
       
<xs:documentation>The schema version that the xml file is using.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="senderFileId" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>Sender's ID for the file.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="fileId" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>Posti set this ID for the XML file.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute LetterBundle/@schemaVersion
type xs:string
properties
use required
fixed v1x0
annotation
documentation
The schema version that the xml file is using.
source <xs:attribute name="schemaVersion" type="xs:string" use="required" fixed="v1x0">
 
<xs:annotation>
   
<xs:documentation>The schema version that the xml file is using.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterBundle/@senderFileId
type xs:string
properties
use optional
annotation
documentation
Sender's ID for the file.
source <xs:attribute name="senderFileId" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>Sender's ID for the file.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterBundle/@fileId
type xs:string
properties
use optional
annotation
documentation
Posti set this ID for the XML file.
source <xs:attribute name="fileId" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>Posti set this ID for the XML file.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element LetterMeta
diagram LetterBundle_V1x0_p14.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
content complex
children lb:LetterLabel lb:Location lb:StdLetterProcessing lb:LetterProcessingSet lb:Recipient lb:Sender lb:LetterDetails
used by
complexType BundleLetter
annotation
documentation
Meta data of on letter
source <xs:element name="LetterMeta">
 
<xs:annotation>
   
<xs:documentation>Meta data of on letter</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="LetterLabel" type="xs:string" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Label for the letter. Can be used for example to include addtiotional ID's for the letter.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Location">
       
<xs:annotation>
         
<xs:documentation>This contains the location information of the letter in the file.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:attribute name="startPage" use="required">
           
<xs:annotation>
             
<xs:documentation>The start page of the letter in the separate data file. The first page in the bundle is 1 (one).</xs:documentation>
           
</xs:annotation>
           
<xs:simpleType>
             
<xs:restriction base="xs:int">
               
<xs:minInclusive value="1"/>
               
<xs:whiteSpace value="collapse"/>
             
</xs:restriction>
           
</xs:simpleType>
         
</xs:attribute>
         
<xs:attribute name="pages" type="xs:int" use="required">
           
<xs:annotation>
             
<xs:documentation>Page count of the letter in the separate data file.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="StdLetterProcessing" minOccurs="0">
       
<xs:complexType>
         
<xs:attribute name="copies" use="optional" default="1">
           
<xs:annotation>
             
<xs:documentation>Not in use in iPost PDF</xs:documentation>
           
</xs:annotation>
           
<xs:simpleType>
             
<xs:restriction base="xs:int">
               
<xs:minInclusive value="1"/>
               
<xs:maxInclusive value="9"/>
             
</xs:restriction>
           
</xs:simpleType>
         
</xs:attribute>
         
<xs:attribute name="departmentClassificationCode" use="optional">
           
<xs:simpleType>
             
<xs:restriction base="xs:string">
               
<xs:minLength value="1"/>
               
<xs:maxLength value="15"/>
               
<xs:whiteSpace value="preserve"/>
             
</xs:restriction>
           
</xs:simpleType>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="LetterProcessingSet" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>These processing settings are for special cases, when the StdLetterProcessing element has not enough information. The letterProcessingSet defines what processing elements are required in the LETTER LEVEL. Posti defines what processingSetIds are available.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element ref="lb:Processing" minOccurs="0" maxOccurs="unbounded"/>
         
</xs:sequence>
         
<xs:attribute name="id" type="xs:string" use="required">
           
<xs:annotation>
             
<xs:documentation>The id of the processing set</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Recipient">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Address" type="lb:MailAddress">
             
<xs:annotation>
               
<xs:documentation>The recipient mail address</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="RecipientBankAccount" type="lb:BankAccountType" minOccurs="0" maxOccurs="unbounded">
             
<xs:annotation>
               
<xs:documentation>The recipient bank account.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="PreferredElectronicAddress" type="lb:ElectronicAddressType" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>The preferred electronic address of the recipient. This is used as preferred address and channel if the electronic delivery is allowed. PreferredElectronicAddress is used before ElectronicAddresses for the electronic delivery.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="ElectronicAddress" type="lb:ElectronicAddressType" minOccurs="0" maxOccurs="unbounded">
             
<xs:annotation>
               
<xs:documentation>iPost service will fetch this value based on the recipient data.

This element contains the Electronic addresses of the recipient.  These addresses are used if the electronic delivery is allowed. If the PreferredElectronicAddress element  exists then it is used before ElectronicAddresses element for the electronic delivery.
</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
         
<xs:attribute name="SSN" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>The social security number (HETU in Finnish) of the recipient. This is used to identify the recipient in the electronic delivery ( First level match).</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="phoneNumber" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>The telephone number of the recipient of the letter. This is used to identify the recipient in the electronic delivery (second level match).</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="emailAddress" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>The email of the recipient. This data is used in the additional electronic delivery services (second level match).</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="customerCode" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>The customer code of the recipient. This data is used in the additional electronic delivery services.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="ovtID">
           
<xs:annotation>
             
<xs:documentation>String-encoded unique OVT ID (SFS 5748 ) of the recipient company. Edira is other name for this ID.
The Finnish OVT ID can be build from the Finnish Y code (Y-tunnus) for companies. Example: Y-code = 1234567-8 --
> OVT ID = 003712345678</xs:documentation>
           
</xs:annotation>
           
<xs:simpleType>
             
<xs:restriction base="xs:string"/>
           
</xs:simpleType>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Sender" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>The sender of the letter for the recipient. This data is used in the electronic delivery services.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="name" type="lb:TextWithLanguageType" minOccurs="0" maxOccurs="unbounded">
             
<xs:annotation>
               
<xs:documentation>The sender name of the letter for the recipient. This name is shown in the electronic delivery. If the sender has same name in different languages do not set the language attribute.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="Address" type="lb:MailAddress" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>The mail address of letter sender. </xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
         
<xs:attribute name="ovtID">
           
<xs:annotation>
             
<xs:documentation>String-encoded unique OVT ID (SFS 5748 )  of the original letter sender for the recipient. This is used to identify the sender in the electronic delivery.
It is highly recommended to include this attribute in the data.
The Finnish OVT ID can be build from the Finnish Y code (Y-tunnus) for companies. Example: Y-code = 1234567-8 --
> OVT ID = 003712345678</xs:documentation>
           
</xs:annotation>
           
<xs:simpleType>
             
<xs:restriction base="xs:string"/>
           
</xs:simpleType>
         
</xs:attribute>
         
<xs:attribute name="email" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>The email address of the sender of the letter for the recipient. </xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="webSite" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>The webSite of the sender of the letter for the recipient. </xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="phoneNumber" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>The phone number for the customer service of the sender of this letter.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="LetterDetails" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>This data is used in the electronic delivery services.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Subject" type="lb:TextWithLanguageType" minOccurs="0" maxOccurs="unbounded">
             
<xs:annotation>
               
<xs:documentation>The subject of the letter. This is used in the electronic delivery of the letter.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="LetterContentType" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>The type of the letter content. This is used in the electronic delivery.</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:attribute name="invoice" type="xs:boolean" use="optional" default="false">
                 
<xs:annotation>
                   
<xs:documentation>An invoice from a seller to a buyer.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="wageSlip" type="xs:boolean" use="optional" default="false">
                 
<xs:annotation>
                   
<xs:documentation>A wage slip from an employer to an employee.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="arrivalNotice" type="xs:boolean" use="optional" default="false">
                 
<xs:annotation>
                   
<xs:documentation>Arrival notice of registered mail or packet.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="healthCare" type="xs:boolean" use="optional" default="false">
                 
<xs:annotation>
                   
<xs:documentation>A health-care related message, such as referral or call.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="reminder" type="xs:boolean" use="optional" default="false">
                 
<xs:annotation>
                   
<xs:documentation>Examples: The book from library is late or payment is late.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="archiveItem" type="xs:boolean" use="optional" default="false">
                 
<xs:annotation>
                   
<xs:documentation>The recipient should archive this message.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="authorityMessage" type="xs:boolean" use="optional" default="false">
                 
<xs:annotation>
                   
<xs:documentation>The message is from authority.  This content type should use only when the sender is an authority.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="announcement" type="xs:boolean" use="optional" default="false"/>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="BankTransfer" minOccurs="0" maxOccurs="unbounded">
             
<xs:annotation>
               
<xs:documentation>If the letter contains a payment, add the payment information here. The minimal information is Bank barcode. Additional information make the payment easier for the recipient.

A bank transfer contains the names of the payer and payee, the total amount to pay, the issue and due dates, reference number, and a virtual bank bar code. This information is used in the electronic delivery of the letter.
</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="PayeeBankAccount" type="lb:BankAccountType" minOccurs="0" maxOccurs="unbounded">
                   
<xs:annotation>
                     
<xs:documentation>The bank account of the Payee can be defined as BIC+IBAN or BBAN. The BIC+IBAN format is strongly recommended to use.</xs:documentation>
                   
</xs:annotation>
                 
</xs:element>
                 
<xs:element name="PayeeAddress" type="lb:MailAddress" minOccurs="0"/>
               
</xs:sequence>
               
<xs:attribute name="bankBarcode" type="xs:string" use="required">
                 
<xs:annotation>
                   
<xs:documentation>The virtual bank barcode of the bank transfer. The virtual bank barcode is an EMPTY string in case the type of the bank transfer is DIRECTDEBIT. This must have an EMPTY string, if the Bank QR code is used.
In Finland this code has 54 numbers (0-9).
</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="BankBarcodeCountry" type="xs:string" use="optional">
                 
<xs:annotation>
                   
<xs:documentation>If the bank barcode definition or usage is country specific, include here the country code.  The two letter country code using the ISO3166 standard.  </xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="totalAmount" type="xs:decimal" use="optional">
                 
<xs:annotation>
                   
<xs:documentation>The total amount to pay in the defined currency.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="currency" use="optional" default="EUR">
                 
<xs:annotation>
                   
<xs:documentation>The three-character currency code as defined by ISO 4217.</xs:documentation>
                 
</xs:annotation>
                 
<xs:simpleType>
                   
<xs:restriction base="xs:string">
                     
<xs:length value="3"/>
                   
</xs:restriction>
                 
</xs:simpleType>
               
</xs:attribute>
               
<xs:attribute name="dueDate" type="xs:date" use="optional">
                 
<xs:annotation>
                   
<xs:documentation>The due date of the bank transfer, with lexical representation YYYY-MM-DD as defined by ISO 8061.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="referenceNumber" type="xs:string" use="optional">
                 
<xs:annotation>
                   
<xs:documentation>The reference number of the bank transfer.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="issueDate" type="xs:date" use="optional">
                 
<xs:annotation>
                   
<xs:documentation>The date of issuing the bank transfer form, with lexical representation YYYY-MM-DD as defined by ISO 8061.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="totalAmountString" type="xs:string" use="optional">
                 
<xs:annotation>
                   
<xs:documentation>This amount is displayed for the recipient.  For example in case the type of the bank transfer is DIRECTINVOICE the total amount string is '****'.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="type" use="optional" default="NONE">
                 
<xs:annotation>
                   
<xs:documentation>Type of a bank transfer. </xs:documentation>
                 
</xs:annotation>
                 
<xs:simpleType>
                   
<xs:restriction base="xs:string">
                     
<xs:enumeration value="NONE"/>
                     
<xs:enumeration value="BANKGIRO"/>
                     
<xs:enumeration value="DIRECTDEBIT"/>
                   
</xs:restriction>
                 
</xs:simpleType>
               
</xs:attribute>
               
<xs:attribute name="pageInLetter" type="xs:integer" use="optional">
                 
<xs:annotation>
                   
<xs:documentation>The page number in the letter (not in the bundle) where this bank transfer code is located if this is known. The first page of the letter is 1 (one).</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="Payer" type="xs:string" use="optional">
                 
<xs:annotation>
                   
<xs:documentation>The display name of the payer.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="Payee" type="xs:string" use="optional">
                 
<xs:annotation>
                   
<xs:documentation>The display name of the payee.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="WebLink" minOccurs="0" maxOccurs="unbounded">
             
<xs:annotation>
               
<xs:documentation>Web link to additional data. This is used if the electronic delivery channel accept web links.</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:attribute name="link" type="xs:string" use="required">
                 
<xs:annotation>
                   
<xs:documentation>Web link</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="linkTitle" type="xs:string" use="required">
                 
<xs:annotation>
                   
<xs:documentation>The viewable SHORT link title.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="infoText" type="xs:string" use="optional">
                 
<xs:annotation>
                   
<xs:documentation>Additional text about the link.</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
         
<xs:attribute name="language" type="xs:language" use="optional">
           
<xs:annotation>
             
<xs:documentation>The language of the letter. The language code as defined by RFC 3066. Example "fi" = Finnish (or "fi-FI"), "sv" = Swedish (or "sv-SE"), "en"  = English (or "en-GB")</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="deliveryDate" type="xs:dateTime" use="optional">
           
<xs:annotation>
             
<xs:documentation>The date when the message is to be delivered. This is USED ONLY IN THE ELECTRONIC DELIVERY.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element LetterMeta/LetterLabel
diagram LetterBundle_V1x0_p15.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type xs:string
properties
minOcc 0
maxOcc unbounded
content simple
annotation
documentation
Label for the letter. Can be used for example to include addtiotional ID's for the letter.
source <xs:element name="LetterLabel" type="xs:string" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Label for the letter. Can be used for example to include addtiotional ID's for the letter.</xs:documentation>
 
</xs:annotation>
</xs:element>

element LetterMeta/Location
diagram LetterBundle_V1x0_p16.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
startPage  derived by: xs:int  required      
documentation
The start page of the letter in the separate data file. The first page in the bundle is 1 (one).
pages  xs:int  required      
documentation
Page count of the letter in the separate data file.
annotation
documentation
This contains the location information of the letter in the file.
source <xs:element name="Location">
 
<xs:annotation>
   
<xs:documentation>This contains the location information of the letter in the file.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:attribute name="startPage" use="required">
     
<xs:annotation>
       
<xs:documentation>The start page of the letter in the separate data file. The first page in the bundle is 1 (one).</xs:documentation>
     
</xs:annotation>
     
<xs:simpleType>
       
<xs:restriction base="xs:int">
         
<xs:minInclusive value="1"/>
         
<xs:whiteSpace value="collapse"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="pages" type="xs:int" use="required">
     
<xs:annotation>
       
<xs:documentation>Page count of the letter in the separate data file.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute LetterMeta/Location/@startPage
type restriction of xs:int
properties
use required
facets
Kind Value Annotation
minInclusive 1
whiteSpace collapse
annotation
documentation
The start page of the letter in the separate data file. The first page in the bundle is 1 (one).
source <xs:attribute name="startPage" use="required">
 
<xs:annotation>
   
<xs:documentation>The start page of the letter in the separate data file. The first page in the bundle is 1 (one).</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:int">
     
<xs:minInclusive value="1"/>
     
<xs:whiteSpace value="collapse"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute LetterMeta/Location/@pages
type xs:int
properties
use required
annotation
documentation
Page count of the letter in the separate data file.
source <xs:attribute name="pages" type="xs:int" use="required">
 
<xs:annotation>
   
<xs:documentation>Page count of the letter in the separate data file.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element LetterMeta/StdLetterProcessing
diagram LetterBundle_V1x0_p17.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
copies  derived by: xs:int  optional  1    
documentation
Not in use in iPost PDF
departmentClassificationCode  derived by: xs:string  optional      
source <xs:element name="StdLetterProcessing" minOccurs="0">
 
<xs:complexType>
   
<xs:attribute name="copies" use="optional" default="1">
     
<xs:annotation>
       
<xs:documentation>Not in use in iPost PDF</xs:documentation>
     
</xs:annotation>
     
<xs:simpleType>
       
<xs:restriction base="xs:int">
         
<xs:minInclusive value="1"/>
         
<xs:maxInclusive value="9"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="departmentClassificationCode" use="optional">
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:minLength value="1"/>
         
<xs:maxLength value="15"/>
         
<xs:whiteSpace value="preserve"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute LetterMeta/StdLetterProcessing/@copies
type restriction of xs:int
properties
use optional
default 1
facets
Kind Value Annotation
minInclusive 1
maxInclusive 9
annotation
documentation
Not in use in iPost PDF
source <xs:attribute name="copies" use="optional" default="1">
 
<xs:annotation>
   
<xs:documentation>Not in use in iPost PDF</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:int">
     
<xs:minInclusive value="1"/>
     
<xs:maxInclusive value="9"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute LetterMeta/StdLetterProcessing/@departmentClassificationCode
type restriction of xs:string
properties
use optional
facets
Kind Value Annotation
minLength 1
maxLength 15
whiteSpace preserve
source <xs:attribute name="departmentClassificationCode" use="optional">
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:minLength value="1"/>
     
<xs:maxLength value="15"/>
     
<xs:whiteSpace value="preserve"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

element LetterMeta/LetterProcessingSet
diagram LetterBundle_V1x0_p18.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
minOcc 0
maxOcc unbounded
content complex
children lb:Processing
attributes
Name  Type  Use  Default  Fixed  Annotation
id  xs:string  required      
documentation
The id of the processing set
annotation
documentation
These processing settings are for special cases, when the StdLetterProcessing element has not enough information. The letterProcessingSet defines what processing elements are required in the LETTER LEVEL. Posti defines what processingSetIds are available.
source <xs:element name="LetterProcessingSet" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>These processing settings are for special cases, when the StdLetterProcessing element has not enough information. The letterProcessingSet defines what processing elements are required in the LETTER LEVEL. Posti defines what processingSetIds are available.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element ref="lb:Processing" minOccurs="0" maxOccurs="unbounded"/>
   
</xs:sequence>
   
<xs:attribute name="id" type="xs:string" use="required">
     
<xs:annotation>
       
<xs:documentation>The id of the processing set</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute LetterMeta/LetterProcessingSet/@id
type xs:string
properties
use required
annotation
documentation
The id of the processing set
source <xs:attribute name="id" type="xs:string" use="required">
 
<xs:annotation>
   
<xs:documentation>The id of the processing set</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element LetterMeta/Recipient
diagram LetterBundle_V1x0_p19.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
content complex
children lb:Address lb:RecipientBankAccount lb:PreferredElectronicAddress lb:ElectronicAddress
attributes
Name  Type  Use  Default  Fixed  Annotation
SSN  xs:string  optional      
documentation
The social security number (HETU in Finnish) of the recipient. This is used to identify the recipient in the electronic delivery ( First level match).
phoneNumber  xs:string  optional      
documentation
The telephone number of the recipient of the letter. This is used to identify the recipient in the electronic delivery (second level match).
emailAddress  xs:string  optional      
documentation
The email of the recipient. This data is used in the additional electronic delivery services (second level match).
customerCode  xs:string  optional      
documentation
The customer code of the recipient. This data is used in the additional electronic delivery services.
ovtID  derived by: xs:string        
documentation
String-encoded unique OVT ID (SFS 5748 ) of the recipient company. Edira is other name for this ID.
The Finnish OVT ID can be build from the Finnish Y code (Y-tunnus) for companies. Example: Y-code = 1234567-8 --> OVT ID = 003712345678
source <xs:element name="Recipient">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Address" type="lb:MailAddress">
       
<xs:annotation>
         
<xs:documentation>The recipient mail address</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="RecipientBankAccount" type="lb:BankAccountType" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>The recipient bank account.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="PreferredElectronicAddress" type="lb:ElectronicAddressType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>The preferred electronic address of the recipient. This is used as preferred address and channel if the electronic delivery is allowed. PreferredElectronicAddress is used before ElectronicAddresses for the electronic delivery.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="ElectronicAddress" type="lb:ElectronicAddressType" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>iPost service will fetch this value based on the recipient data.

This element contains the Electronic addresses of the recipient.  These addresses are used if the electronic delivery is allowed. If the PreferredElectronicAddress element  exists then it is used before ElectronicAddresses element for the electronic delivery.
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
   
<xs:attribute name="SSN" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>The social security number (HETU in Finnish) of the recipient. This is used to identify the recipient in the electronic delivery ( First level match).</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="phoneNumber" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>The telephone number of the recipient of the letter. This is used to identify the recipient in the electronic delivery (second level match).</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="emailAddress" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>The email of the recipient. This data is used in the additional electronic delivery services (second level match).</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="customerCode" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>The customer code of the recipient. This data is used in the additional electronic delivery services.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="ovtID">
     
<xs:annotation>
       
<xs:documentation>String-encoded unique OVT ID (SFS 5748 ) of the recipient company. Edira is other name for this ID.
The Finnish OVT ID can be build from the Finnish Y code (Y-tunnus) for companies. Example: Y-code = 1234567-8 --
> OVT ID = 003712345678</xs:documentation>
     
</xs:annotation>
     
<xs:simpleType>
       
<xs:restriction base="xs:string"/>
     
</xs:simpleType>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute LetterMeta/Recipient/@SSN
type xs:string
properties
use optional
annotation
documentation
The social security number (HETU in Finnish) of the recipient. This is used to identify the recipient in the electronic delivery ( First level match).
source <xs:attribute name="SSN" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>The social security number (HETU in Finnish) of the recipient. This is used to identify the recipient in the electronic delivery ( First level match).</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/Recipient/@phoneNumber
type xs:string
properties
use optional
annotation
documentation
The telephone number of the recipient of the letter. This is used to identify the recipient in the electronic delivery (second level match).
source <xs:attribute name="phoneNumber" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>The telephone number of the recipient of the letter. This is used to identify the recipient in the electronic delivery (second level match).</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/Recipient/@emailAddress
type xs:string
properties
use optional
annotation
documentation
The email of the recipient. This data is used in the additional electronic delivery services (second level match).
source <xs:attribute name="emailAddress" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>The email of the recipient. This data is used in the additional electronic delivery services (second level match).</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/Recipient/@customerCode
type xs:string
properties
use optional
annotation
documentation
The customer code of the recipient. This data is used in the additional electronic delivery services.
source <xs:attribute name="customerCode" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>The customer code of the recipient. This data is used in the additional electronic delivery services.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/Recipient/@ovtID
type restriction of xs:string
annotation
documentation
String-encoded unique OVT ID (SFS 5748 ) of the recipient company. Edira is other name for this ID.
The Finnish OVT ID can be build from the Finnish Y code (Y-tunnus) for companies. Example: Y-code = 1234567-8 --> OVT ID = 003712345678
source <xs:attribute name="ovtID">
 
<xs:annotation>
   
<xs:documentation>String-encoded unique OVT ID (SFS 5748 ) of the recipient company. Edira is other name for this ID.
The Finnish OVT ID can be build from the Finnish Y code (Y-tunnus) for companies. Example: Y-code = 1234567-8 --
> OVT ID = 003712345678</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string"/>
 
</xs:simpleType>
</xs:attribute>

element LetterMeta/Recipient/Address
diagram LetterBundle_V1x0_p20.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type lb:MailAddress
properties
content complex
children lb:Eu1
annotation
documentation
The recipient mail address
source <xs:element name="Address" type="lb:MailAddress">
 
<xs:annotation>
   
<xs:documentation>The recipient mail address</xs:documentation>
 
</xs:annotation>
</xs:element>

element LetterMeta/Recipient/RecipientBankAccount
diagram LetterBundle_V1x0_p21.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type lb:BankAccountType
properties
minOcc 0
maxOcc unbounded
content complex
children lb:BIC lb:IBAN lb:BBAN lb:CountryCode
annotation
documentation
The recipient bank account.
source <xs:element name="RecipientBankAccount" type="lb:BankAccountType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>The recipient bank account.</xs:documentation>
 
</xs:annotation>
</xs:element>

element LetterMeta/Recipient/PreferredElectronicAddress
diagram LetterBundle_V1x0_p22.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type lb:ElectronicAddressType
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
address  xs:string  required      
documentation
The address in the electronic delivery channel.
For example Netposti uses ElectronicAddressID that uses the  form 99999999-Q, where 99999999 is the OTS customer number of the recipient. The -Q part, where Q is the checksum character, is optional. For example, valid electronic addresses of Netposti are 00345213 and 00345213-R.
channelName  derived by: xs:string  required      
documentation
The name of the electronic channel.
annotation
documentation
The preferred electronic address of the recipient. This is used as preferred address and channel if the electronic delivery is allowed. PreferredElectronicAddress is used before ElectronicAddresses for the electronic delivery.
source <xs:element name="PreferredElectronicAddress" type="lb:ElectronicAddressType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The preferred electronic address of the recipient. This is used as preferred address and channel if the electronic delivery is allowed. PreferredElectronicAddress is used before ElectronicAddresses for the electronic delivery.</xs:documentation>
 
</xs:annotation>
</xs:element>

element LetterMeta/Recipient/ElectronicAddress
diagram LetterBundle_V1x0_p23.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type lb:ElectronicAddressType
properties
minOcc 0
maxOcc unbounded
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
address  xs:string  required      
documentation
The address in the electronic delivery channel.
For example Netposti uses ElectronicAddressID that uses the  form 99999999-Q, where 99999999 is the OTS customer number of the recipient. The -Q part, where Q is the checksum character, is optional. For example, valid electronic addresses of Netposti are 00345213 and 00345213-R.
channelName  derived by: xs:string  required      
documentation
The name of the electronic channel.
annotation
documentation
iPost service will fetch this value based on the recipient data.

This element contains the Electronic addresses of the recipient.  These addresses are used if the electronic delivery is allowed. If the PreferredElectronicAddress element  exists then it is used before ElectronicAddresses element for the electronic delivery.
source <xs:element name="ElectronicAddress" type="lb:ElectronicAddressType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>iPost service will fetch this value based on the recipient data.

This element contains the Electronic addresses of the recipient.  These addresses are used if the electronic delivery is allowed. If the PreferredElectronicAddress element  exists then it is used before ElectronicAddresses element for the electronic delivery.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element LetterMeta/Sender
diagram LetterBundle_V1x0_p24.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
minOcc 0
maxOcc 1
content complex
children lb:name lb:Address
attributes
Name  Type  Use  Default  Fixed  Annotation
ovtID  derived by: xs:string        
documentation
String-encoded unique OVT ID (SFS 5748 )  of the original letter sender for the recipient. This is used to identify the sender in the electronic delivery.
It is highly recommended to include this attribute in the data.
The Finnish OVT ID can be build from the Finnish Y code (Y-tunnus) for companies. Example: Y-code = 1234567-8 --> OVT ID = 003712345678
email  xs:string  optional      
documentation
The email address of the sender of the letter for the recipient.
webSite  xs:string  optional      
documentation
The webSite of the sender of the letter for the recipient.
phoneNumber  xs:string  optional      
documentation
The phone number for the customer service of the sender of this letter.
annotation
documentation
The sender of the letter for the recipient. This data is used in the electronic delivery services.
source <xs:element name="Sender" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The sender of the letter for the recipient. This data is used in the electronic delivery services.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="name" type="lb:TextWithLanguageType" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>The sender name of the letter for the recipient. This name is shown in the electronic delivery. If the sender has same name in different languages do not set the language attribute.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Address" type="lb:MailAddress" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>The mail address of letter sender. </xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
   
<xs:attribute name="ovtID">
     
<xs:annotation>
       
<xs:documentation>String-encoded unique OVT ID (SFS 5748 )  of the original letter sender for the recipient. This is used to identify the sender in the electronic delivery.
It is highly recommended to include this attribute in the data.
The Finnish OVT ID can be build from the Finnish Y code (Y-tunnus) for companies. Example: Y-code = 1234567-8 --
> OVT ID = 003712345678</xs:documentation>
     
</xs:annotation>
     
<xs:simpleType>
       
<xs:restriction base="xs:string"/>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="email" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>The email address of the sender of the letter for the recipient. </xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="webSite" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>The webSite of the sender of the letter for the recipient. </xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="phoneNumber" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>The phone number for the customer service of the sender of this letter.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute LetterMeta/Sender/@ovtID
type restriction of xs:string
annotation
documentation
String-encoded unique OVT ID (SFS 5748 )  of the original letter sender for the recipient. This is used to identify the sender in the electronic delivery.
It is highly recommended to include this attribute in the data.
The Finnish OVT ID can be build from the Finnish Y code (Y-tunnus) for companies. Example: Y-code = 1234567-8 --> OVT ID = 003712345678
source <xs:attribute name="ovtID">
 
<xs:annotation>
   
<xs:documentation>String-encoded unique OVT ID (SFS 5748 )  of the original letter sender for the recipient. This is used to identify the sender in the electronic delivery.
It is highly recommended to include this attribute in the data.
The Finnish OVT ID can be build from the Finnish Y code (Y-tunnus) for companies. Example: Y-code = 1234567-8 --
> OVT ID = 003712345678</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string"/>
 
</xs:simpleType>
</xs:attribute>

attribute LetterMeta/Sender/@email
type xs:string
properties
use optional
annotation
documentation
The email address of the sender of the letter for the recipient.
source <xs:attribute name="email" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>The email address of the sender of the letter for the recipient. </xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/Sender/@webSite
type xs:string
properties
use optional
annotation
documentation
The webSite of the sender of the letter for the recipient.
source <xs:attribute name="webSite" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>The webSite of the sender of the letter for the recipient. </xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/Sender/@phoneNumber
type xs:string
properties
use optional
annotation
documentation
The phone number for the customer service of the sender of this letter.
source <xs:attribute name="phoneNumber" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>The phone number for the customer service of the sender of this letter.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element LetterMeta/Sender/name
diagram LetterBundle_V1x0_p25.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type lb:TextWithLanguageType
properties
minOcc 0
maxOcc unbounded
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
language  xs:language  optional      
documentation
The language code as defined by RFC 3066. Examples: "fi" = Finnish, "fi-FI" = Finnish, "sv-SE" = Swedish, "en-GB" = English (Great Britain)
text  xs:string  required      
annotation
documentation
The sender name of the letter for the recipient. This name is shown in the electronic delivery. If the sender has same name in different languages do not set the language attribute.
source <xs:element name="name" type="lb:TextWithLanguageType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>The sender name of the letter for the recipient. This name is shown in the electronic delivery. If the sender has same name in different languages do not set the language attribute.</xs:documentation>
 
</xs:annotation>
</xs:element>

element LetterMeta/Sender/Address
diagram LetterBundle_V1x0_p26.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type lb:MailAddress
properties
minOcc 0
maxOcc 1
content complex
children lb:Eu1
annotation
documentation
The mail address of letter sender.
source <xs:element name="Address" type="lb:MailAddress" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The mail address of letter sender. </xs:documentation>
 
</xs:annotation>
</xs:element>

element LetterMeta/LetterDetails
diagram LetterBundle_V1x0_p27.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
minOcc 0
maxOcc 1
content complex
children lb:Subject lb:LetterContentType lb:BankTransfer lb:WebLink
attributes
Name  Type  Use  Default  Fixed  Annotation
language  xs:language  optional      
documentation
The language of the letter. The language code as defined by RFC 3066. Example "fi" = Finnish (or "fi-FI"), "sv" = Swedish (or "sv-SE"), "en"  = English (or "en-GB")
deliveryDate  xs:dateTime  optional      
documentation
The date when the message is to be delivered. This is USED ONLY IN THE ELECTRONIC DELIVERY.
annotation
documentation
This data is used in the electronic delivery services.
source <xs:element name="LetterDetails" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>This data is used in the electronic delivery services.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Subject" type="lb:TextWithLanguageType" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>The subject of the letter. This is used in the electronic delivery of the letter.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="LetterContentType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>The type of the letter content. This is used in the electronic delivery.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:attribute name="invoice" type="xs:boolean" use="optional" default="false">
           
<xs:annotation>
             
<xs:documentation>An invoice from a seller to a buyer.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="wageSlip" type="xs:boolean" use="optional" default="false">
           
<xs:annotation>
             
<xs:documentation>A wage slip from an employer to an employee.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="arrivalNotice" type="xs:boolean" use="optional" default="false">
           
<xs:annotation>
             
<xs:documentation>Arrival notice of registered mail or packet.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="healthCare" type="xs:boolean" use="optional" default="false">
           
<xs:annotation>
             
<xs:documentation>A health-care related message, such as referral or call.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="reminder" type="xs:boolean" use="optional" default="false">
           
<xs:annotation>
             
<xs:documentation>Examples: The book from library is late or payment is late.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="archiveItem" type="xs:boolean" use="optional" default="false">
           
<xs:annotation>
             
<xs:documentation>The recipient should archive this message.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="authorityMessage" type="xs:boolean" use="optional" default="false">
           
<xs:annotation>
             
<xs:documentation>The message is from authority.  This content type should use only when the sender is an authority.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="announcement" type="xs:boolean" use="optional" default="false"/>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="BankTransfer" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>If the letter contains a payment, add the payment information here. The minimal information is Bank barcode. Additional information make the payment easier for the recipient.

A bank transfer contains the names of the payer and payee, the total amount to pay, the issue and due dates, reference number, and a virtual bank bar code. This information is used in the electronic delivery of the letter.
</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="PayeeBankAccount" type="lb:BankAccountType" minOccurs="0" maxOccurs="unbounded">
             
<xs:annotation>
               
<xs:documentation>The bank account of the Payee can be defined as BIC+IBAN or BBAN. The BIC+IBAN format is strongly recommended to use.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="PayeeAddress" type="lb:MailAddress" minOccurs="0"/>
         
</xs:sequence>
         
<xs:attribute name="bankBarcode" type="xs:string" use="required">
           
<xs:annotation>
             
<xs:documentation>The virtual bank barcode of the bank transfer. The virtual bank barcode is an EMPTY string in case the type of the bank transfer is DIRECTDEBIT. This must have an EMPTY string, if the Bank QR code is used.
In Finland this code has 54 numbers (0-9).
</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="BankBarcodeCountry" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>If the bank barcode definition or usage is country specific, include here the country code.  The two letter country code using the ISO3166 standard.  </xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="totalAmount" type="xs:decimal" use="optional">
           
<xs:annotation>
             
<xs:documentation>The total amount to pay in the defined currency.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="currency" use="optional" default="EUR">
           
<xs:annotation>
             
<xs:documentation>The three-character currency code as defined by ISO 4217.</xs:documentation>
           
</xs:annotation>
           
<xs:simpleType>
             
<xs:restriction base="xs:string">
               
<xs:length value="3"/>
             
</xs:restriction>
           
</xs:simpleType>
         
</xs:attribute>
         
<xs:attribute name="dueDate" type="xs:date" use="optional">
           
<xs:annotation>
             
<xs:documentation>The due date of the bank transfer, with lexical representation YYYY-MM-DD as defined by ISO 8061.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="referenceNumber" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>The reference number of the bank transfer.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="issueDate" type="xs:date" use="optional">
           
<xs:annotation>
             
<xs:documentation>The date of issuing the bank transfer form, with lexical representation YYYY-MM-DD as defined by ISO 8061.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="totalAmountString" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>This amount is displayed for the recipient.  For example in case the type of the bank transfer is DIRECTINVOICE the total amount string is '****'.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="type" use="optional" default="NONE">
           
<xs:annotation>
             
<xs:documentation>Type of a bank transfer. </xs:documentation>
           
</xs:annotation>
           
<xs:simpleType>
             
<xs:restriction base="xs:string">
               
<xs:enumeration value="NONE"/>
               
<xs:enumeration value="BANKGIRO"/>
               
<xs:enumeration value="DIRECTDEBIT"/>
             
</xs:restriction>
           
</xs:simpleType>
         
</xs:attribute>
         
<xs:attribute name="pageInLetter" type="xs:integer" use="optional">
           
<xs:annotation>
             
<xs:documentation>The page number in the letter (not in the bundle) where this bank transfer code is located if this is known. The first page of the letter is 1 (one).</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="Payer" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>The display name of the payer.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="Payee" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>The display name of the payee.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="WebLink" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Web link to additional data. This is used if the electronic delivery channel accept web links.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:attribute name="link" type="xs:string" use="required">
           
<xs:annotation>
             
<xs:documentation>Web link</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="linkTitle" type="xs:string" use="required">
           
<xs:annotation>
             
<xs:documentation>The viewable SHORT link title.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="infoText" type="xs:string" use="optional">
           
<xs:annotation>
             
<xs:documentation>Additional text about the link.</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
   
<xs:attribute name="language" type="xs:language" use="optional">
     
<xs:annotation>
       
<xs:documentation>The language of the letter. The language code as defined by RFC 3066. Example "fi" = Finnish (or "fi-FI"), "sv" = Swedish (or "sv-SE"), "en"  = English (or "en-GB")</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="deliveryDate" type="xs:dateTime" use="optional">
     
<xs:annotation>
       
<xs:documentation>The date when the message is to be delivered. This is USED ONLY IN THE ELECTRONIC DELIVERY.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute LetterMeta/LetterDetails/@language
type xs:language
properties
use optional
annotation
documentation
The language of the letter. The language code as defined by RFC 3066. Example "fi" = Finnish (or "fi-FI"), "sv" = Swedish (or "sv-SE"), "en"  = English (or "en-GB")
source <xs:attribute name="language" type="xs:language" use="optional">
 
<xs:annotation>
   
<xs:documentation>The language of the letter. The language code as defined by RFC 3066. Example "fi" = Finnish (or "fi-FI"), "sv" = Swedish (or "sv-SE"), "en"  = English (or "en-GB")</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/@deliveryDate
type xs:dateTime
properties
use optional
annotation
documentation
The date when the message is to be delivered. This is USED ONLY IN THE ELECTRONIC DELIVERY.
source <xs:attribute name="deliveryDate" type="xs:dateTime" use="optional">
 
<xs:annotation>
   
<xs:documentation>The date when the message is to be delivered. This is USED ONLY IN THE ELECTRONIC DELIVERY.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element LetterMeta/LetterDetails/Subject
diagram LetterBundle_V1x0_p28.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type lb:TextWithLanguageType
properties
minOcc 0
maxOcc unbounded
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
language  xs:language  optional      
documentation
The language code as defined by RFC 3066. Examples: "fi" = Finnish, "fi-FI" = Finnish, "sv-SE" = Swedish, "en-GB" = English (Great Britain)
text  xs:string  required      
annotation
documentation
The subject of the letter. This is used in the electronic delivery of the letter.
source <xs:element name="Subject" type="lb:TextWithLanguageType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>The subject of the letter. This is used in the electronic delivery of the letter.</xs:documentation>
 
</xs:annotation>
</xs:element>

element LetterMeta/LetterDetails/LetterContentType
diagram LetterBundle_V1x0_p29.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
invoice  xs:boolean  optional  false    
documentation
An invoice from a seller to a buyer.
wageSlip  xs:boolean  optional  false    
documentation
A wage slip from an employer to an employee.
arrivalNotice  xs:boolean  optional  false    
documentation
Arrival notice of registered mail or packet.
healthCare  xs:boolean  optional  false    
documentation
A health-care related message, such as referral or call.
reminder  xs:boolean  optional  false    
documentation
Examples: The book from library is late or payment is late.
archiveItem  xs:boolean  optional  false    
documentation
The recipient should archive this message.
authorityMessage  xs:boolean  optional  false    
documentation
The message is from authority.  This content type should use only when the sender is an authority.
announcement  xs:boolean  optional  false    
annotation
documentation
The type of the letter content. This is used in the electronic delivery.
source <xs:element name="LetterContentType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The type of the letter content. This is used in the electronic delivery.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:attribute name="invoice" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>An invoice from a seller to a buyer.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="wageSlip" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>A wage slip from an employer to an employee.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="arrivalNotice" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>Arrival notice of registered mail or packet.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="healthCare" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>A health-care related message, such as referral or call.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="reminder" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>Examples: The book from library is late or payment is late.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="archiveItem" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>The recipient should archive this message.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="authorityMessage" type="xs:boolean" use="optional" default="false">
     
<xs:annotation>
       
<xs:documentation>The message is from authority.  This content type should use only when the sender is an authority.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="announcement" type="xs:boolean" use="optional" default="false"/>
 
</xs:complexType>
</xs:element>

attribute LetterMeta/LetterDetails/LetterContentType/@invoice
type xs:boolean
properties
use optional
default false
annotation
documentation
An invoice from a seller to a buyer.
source <xs:attribute name="invoice" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>An invoice from a seller to a buyer.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/LetterContentType/@wageSlip
type xs:boolean
properties
use optional
default false
annotation
documentation
A wage slip from an employer to an employee.
source <xs:attribute name="wageSlip" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>A wage slip from an employer to an employee.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/LetterContentType/@arrivalNotice
type xs:boolean
properties
use optional
default false
annotation
documentation
Arrival notice of registered mail or packet.
source <xs:attribute name="arrivalNotice" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>Arrival notice of registered mail or packet.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/LetterContentType/@healthCare
type xs:boolean
properties
use optional
default false
annotation
documentation
A health-care related message, such as referral or call.
source <xs:attribute name="healthCare" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>A health-care related message, such as referral or call.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/LetterContentType/@reminder
type xs:boolean
properties
use optional
default false
annotation
documentation
Examples: The book from library is late or payment is late.
source <xs:attribute name="reminder" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>Examples: The book from library is late or payment is late.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/LetterContentType/@archiveItem
type xs:boolean
properties
use optional
default false
annotation
documentation
The recipient should archive this message.
source <xs:attribute name="archiveItem" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>The recipient should archive this message.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/LetterContentType/@authorityMessage
type xs:boolean
properties
use optional
default false
annotation
documentation
The message is from authority.  This content type should use only when the sender is an authority.
source <xs:attribute name="authorityMessage" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>The message is from authority.  This content type should use only when the sender is an authority.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/LetterContentType/@announcement
type xs:boolean
properties
use optional
default false
source <xs:attribute name="announcement" type="xs:boolean" use="optional" default="false"/>

element LetterMeta/LetterDetails/BankTransfer
diagram LetterBundle_V1x0_p30.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
minOcc 0
maxOcc unbounded
content complex
children lb:PayeeBankAccount lb:PayeeAddress
attributes
Name  Type  Use  Default  Fixed  Annotation
bankBarcode  xs:string  required      
documentation
The virtual bank barcode of the bank transfer. The virtual bank barcode is an EMPTY string in case the type of the bank transfer is DIRECTDEBIT. This must have an EMPTY string, if the Bank QR code is used.
In Finland this code has 54 numbers (0-9).
BankBarcodeCountry  xs:string  optional      
documentation
If the bank barcode definition or usage is country specific, include here the country code.  The two letter country code using the ISO3166 standard. 
totalAmount  xs:decimal  optional      
documentation
The total amount to pay in the defined currency.
currency  derived by: xs:string  optional  EUR    
documentation
The three-character currency code as defined by ISO 4217.
dueDate  xs:date  optional      
documentation
The due date of the bank transfer, with lexical representation YYYY-MM-DD as defined by ISO 8061.
referenceNumber  xs:string  optional      
documentation
The reference number of the bank transfer.
issueDate  xs:date  optional      
documentation
The date of issuing the bank transfer form, with lexical representation YYYY-MM-DD as defined by ISO 8061.
totalAmountString  xs:string  optional      
documentation
This amount is displayed for the recipient.  For example in case the type of the bank transfer is DIRECTINVOICE the total amount string is '****'.
type  derived by: xs:string  optional  NONE    
documentation
Type of a bank transfer.
pageInLetter  xs:integer  optional      
documentation
The page number in the letter (not in the bundle) where this bank transfer code is located if this is known. The first page of the letter is 1 (one).
Payer  xs:string  optional      
documentation
The display name of the payer.
Payee  xs:string  optional      
documentation
The display name of the payee.
annotation
documentation
If the letter contains a payment, add the payment information here. The minimal information is Bank barcode. Additional information make the payment easier for the recipient.

A bank transfer contains the names of the payer and payee, the total amount to pay, the issue and due dates, reference number, and a virtual bank bar code. This information is used in the electronic delivery of the letter.
source <xs:element name="BankTransfer" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>If the letter contains a payment, add the payment information here. The minimal information is Bank barcode. Additional information make the payment easier for the recipient.

A bank transfer contains the names of the payer and payee, the total amount to pay, the issue and due dates, reference number, and a virtual bank bar code. This information is used in the electronic delivery of the letter.
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="PayeeBankAccount" type="lb:BankAccountType" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>The bank account of the Payee can be defined as BIC+IBAN or BBAN. The BIC+IBAN format is strongly recommended to use.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="PayeeAddress" type="lb:MailAddress" minOccurs="0"/>
   
</xs:sequence>
   
<xs:attribute name="bankBarcode" type="xs:string" use="required">
     
<xs:annotation>
       
<xs:documentation>The virtual bank barcode of the bank transfer. The virtual bank barcode is an EMPTY string in case the type of the bank transfer is DIRECTDEBIT. This must have an EMPTY string, if the Bank QR code is used.
In Finland this code has 54 numbers (0-9).
</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="BankBarcodeCountry" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>If the bank barcode definition or usage is country specific, include here the country code.  The two letter country code using the ISO3166 standard.  </xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="totalAmount" type="xs:decimal" use="optional">
     
<xs:annotation>
       
<xs:documentation>The total amount to pay in the defined currency.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="currency" use="optional" default="EUR">
     
<xs:annotation>
       
<xs:documentation>The three-character currency code as defined by ISO 4217.</xs:documentation>
     
</xs:annotation>
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:length value="3"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="dueDate" type="xs:date" use="optional">
     
<xs:annotation>
       
<xs:documentation>The due date of the bank transfer, with lexical representation YYYY-MM-DD as defined by ISO 8061.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="referenceNumber" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>The reference number of the bank transfer.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="issueDate" type="xs:date" use="optional">
     
<xs:annotation>
       
<xs:documentation>The date of issuing the bank transfer form, with lexical representation YYYY-MM-DD as defined by ISO 8061.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="totalAmountString" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>This amount is displayed for the recipient.  For example in case the type of the bank transfer is DIRECTINVOICE the total amount string is '****'.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="type" use="optional" default="NONE">
     
<xs:annotation>
       
<xs:documentation>Type of a bank transfer. </xs:documentation>
     
</xs:annotation>
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:enumeration value="NONE"/>
         
<xs:enumeration value="BANKGIRO"/>
         
<xs:enumeration value="DIRECTDEBIT"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="pageInLetter" type="xs:integer" use="optional">
     
<xs:annotation>
       
<xs:documentation>The page number in the letter (not in the bundle) where this bank transfer code is located if this is known. The first page of the letter is 1 (one).</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="Payer" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>The display name of the payer.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="Payee" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>The display name of the payee.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute LetterMeta/LetterDetails/BankTransfer/@bankBarcode
type xs:string
properties
use required
annotation
documentation
The virtual bank barcode of the bank transfer. The virtual bank barcode is an EMPTY string in case the type of the bank transfer is DIRECTDEBIT. This must have an EMPTY string, if the Bank QR code is used.
In Finland this code has 54 numbers (0-9).
source <xs:attribute name="bankBarcode" type="xs:string" use="required">
 
<xs:annotation>
   
<xs:documentation>The virtual bank barcode of the bank transfer. The virtual bank barcode is an EMPTY string in case the type of the bank transfer is DIRECTDEBIT. This must have an EMPTY string, if the Bank QR code is used.
In Finland this code has 54 numbers (0-9).
</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/BankTransfer/@BankBarcodeCountry
type xs:string
properties
use optional
annotation
documentation
If the bank barcode definition or usage is country specific, include here the country code.  The two letter country code using the ISO3166 standard. 
source <xs:attribute name="BankBarcodeCountry" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>If the bank barcode definition or usage is country specific, include here the country code.  The two letter country code using the ISO3166 standard.  </xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/BankTransfer/@totalAmount
type xs:decimal
properties
use optional
annotation
documentation
The total amount to pay in the defined currency.
source <xs:attribute name="totalAmount" type="xs:decimal" use="optional">
 
<xs:annotation>
   
<xs:documentation>The total amount to pay in the defined currency.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/BankTransfer/@currency
type restriction of xs:string
properties
use optional
default EUR
facets
Kind Value Annotation
length 3
annotation
documentation
The three-character currency code as defined by ISO 4217.
source <xs:attribute name="currency" use="optional" default="EUR">
 
<xs:annotation>
   
<xs:documentation>The three-character currency code as defined by ISO 4217.</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:length value="3"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute LetterMeta/LetterDetails/BankTransfer/@dueDate
type xs:date
properties
use optional
annotation
documentation
The due date of the bank transfer, with lexical representation YYYY-MM-DD as defined by ISO 8061.
source <xs:attribute name="dueDate" type="xs:date" use="optional">
 
<xs:annotation>
   
<xs:documentation>The due date of the bank transfer, with lexical representation YYYY-MM-DD as defined by ISO 8061.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/BankTransfer/@referenceNumber
type xs:string
properties
use optional
annotation
documentation
The reference number of the bank transfer.
source <xs:attribute name="referenceNumber" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>The reference number of the bank transfer.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/BankTransfer/@issueDate
type xs:date
properties
use optional
annotation
documentation
The date of issuing the bank transfer form, with lexical representation YYYY-MM-DD as defined by ISO 8061.
source <xs:attribute name="issueDate" type="xs:date" use="optional">
 
<xs:annotation>
   
<xs:documentation>The date of issuing the bank transfer form, with lexical representation YYYY-MM-DD as defined by ISO 8061.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/BankTransfer/@totalAmountString
type xs:string
properties
use optional
annotation
documentation
This amount is displayed for the recipient.  For example in case the type of the bank transfer is DIRECTINVOICE the total amount string is '****'.
source <xs:attribute name="totalAmountString" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>This amount is displayed for the recipient.  For example in case the type of the bank transfer is DIRECTINVOICE the total amount string is '****'.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/BankTransfer/@type
type restriction of xs:string
properties
use optional
default NONE
facets
Kind Value Annotation
enumeration NONE
enumeration BANKGIRO
enumeration DIRECTDEBIT
annotation
documentation
Type of a bank transfer.
source <xs:attribute name="type" use="optional" default="NONE">
 
<xs:annotation>
   
<xs:documentation>Type of a bank transfer. </xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:enumeration value="NONE"/>
     
<xs:enumeration value="BANKGIRO"/>
     
<xs:enumeration value="DIRECTDEBIT"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute LetterMeta/LetterDetails/BankTransfer/@pageInLetter
type xs:integer
properties
use optional
annotation
documentation
The page number in the letter (not in the bundle) where this bank transfer code is located if this is known. The first page of the letter is 1 (one).
source <xs:attribute name="pageInLetter" type="xs:integer" use="optional">
 
<xs:annotation>
   
<xs:documentation>The page number in the letter (not in the bundle) where this bank transfer code is located if this is known. The first page of the letter is 1 (one).</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/BankTransfer/@Payer
type xs:string
properties
use optional
annotation
documentation
The display name of the payer.
source <xs:attribute name="Payer" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>The display name of the payer.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/BankTransfer/@Payee
type xs:string
properties
use optional
annotation
documentation
The display name of the payee.
source <xs:attribute name="Payee" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>The display name of the payee.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element LetterMeta/LetterDetails/BankTransfer/PayeeBankAccount
diagram LetterBundle_V1x0_p31.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type lb:BankAccountType
properties
minOcc 0
maxOcc unbounded
content complex
children lb:BIC lb:IBAN lb:BBAN lb:CountryCode
annotation
documentation
The bank account of the Payee can be defined as BIC+IBAN or BBAN. The BIC+IBAN format is strongly recommended to use.
source <xs:element name="PayeeBankAccount" type="lb:BankAccountType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>The bank account of the Payee can be defined as BIC+IBAN or BBAN. The BIC+IBAN format is strongly recommended to use.</xs:documentation>
 
</xs:annotation>
</xs:element>

element LetterMeta/LetterDetails/BankTransfer/PayeeAddress
diagram LetterBundle_V1x0_p32.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type lb:MailAddress
properties
minOcc 0
maxOcc 1
content complex
children lb:Eu1
source <xs:element name="PayeeAddress" type="lb:MailAddress" minOccurs="0"/>

element LetterMeta/LetterDetails/WebLink
diagram LetterBundle_V1x0_p33.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
minOcc 0
maxOcc unbounded
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
link  xs:string  required      
documentation
Web link
linkTitle  xs:string  required      
documentation
The viewable SHORT link title.
infoText  xs:string  optional      
documentation
Additional text about the link.
annotation
documentation
Web link to additional data. This is used if the electronic delivery channel accept web links.
source <xs:element name="WebLink" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Web link to additional data. This is used if the electronic delivery channel accept web links.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:attribute name="link" type="xs:string" use="required">
     
<xs:annotation>
       
<xs:documentation>Web link</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="linkTitle" type="xs:string" use="required">
     
<xs:annotation>
       
<xs:documentation>The viewable SHORT link title.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="infoText" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>Additional text about the link.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute LetterMeta/LetterDetails/WebLink/@link
type xs:string
properties
use required
annotation
documentation
Web link
source <xs:attribute name="link" type="xs:string" use="required">
 
<xs:annotation>
   
<xs:documentation>Web link</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/WebLink/@linkTitle
type xs:string
properties
use required
annotation
documentation
The viewable SHORT link title.
source <xs:attribute name="linkTitle" type="xs:string" use="required">
 
<xs:annotation>
   
<xs:documentation>The viewable SHORT link title.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute LetterMeta/LetterDetails/WebLink/@infoText
type xs:string
properties
use optional
annotation
documentation
Additional text about the link.
source <xs:attribute name="infoText" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>Additional text about the link.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element Processing
diagram LetterBundle_V1x0_p34.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
content complex
used by
elements BundleCommon/BundleProcessingSet LetterMeta/LetterProcessingSet
attributes
Name  Type  Use  Default  Fixed  Annotation
key  xs:string  required      
value  xs:string  required      
annotation
documentation
Posti defines what processing elements are required for this work in the bundle level or in the letter level.
source <xs:element name="Processing">
 
<xs:annotation>
   
<xs:documentation>Posti defines what processing elements are required for this work in the bundle level or in the letter level.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:attribute name="key" type="xs:string" use="required"/>
   
<xs:attribute name="value" type="xs:string" use="required"/>
 
</xs:complexType>
</xs:element>

attribute Processing/@key
type xs:string
properties
use required
source <xs:attribute name="key" type="xs:string" use="required"/>

attribute Processing/@value
type xs:string
properties
use required
source <xs:attribute name="value" type="xs:string" use="required"/>

complexType BankAccountType
diagram LetterBundle_V1x0_p35.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
children lb:BIC lb:IBAN lb:BBAN lb:CountryCode
used by
elements LetterMeta/LetterDetails/BankTransfer/PayeeBankAccount LetterMeta/Recipient/RecipientBankAccount
annotation
documentation
Bank account type that support BBAN and BIC+IBAN. Use BIC+IBAN
source <xs:complexType name="BankAccountType">
 
<xs:annotation>
   
<xs:documentation>Bank account type that support BBAN and BIC+IBAN. Use BIC+IBAN</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:sequence minOccurs="0">
     
<xs:element name="BIC" type="lb:BICType">
       
<xs:annotation>
         
<xs:documentation>The Bank Identifier Code (BIC) of the payee's intermediator. </xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="IBAN" type="lb:IBANType">
       
<xs:annotation>
         
<xs:documentation>The International Bank Account Number (IBAN)</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
   
<xs:sequence minOccurs="0">
     
<xs:element name="BBAN" type="lb:BBANType">
       
<xs:annotation>
         
<xs:documentation>The Basic Bank Account Number (BBAN). This the 'old' format for bank account. It is strongly recommended to use BIC + IBAN instead of BBAN.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="CountryCode" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>The two letter country code using the ISO3166 standard. </xs:documentation>
       
</xs:annotation>
       
<xs:simpleType>
         
<xs:restriction base="xs:string">
           
<xs:length value="2"/>
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:element>
   
</xs:sequence>
 
</xs:sequence>
</xs:complexType>

element BankAccountType/BIC
diagram LetterBundle_V1x0_p36.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type lb:BICType
properties
content simple
facets
Kind Value Annotation
pattern ([A-Z0-9]{8}|[A-Z0-9]{11})
annotation
documentation
The Bank Identifier Code (BIC) of the payee's intermediator.
source <xs:element name="BIC" type="lb:BICType">
 
<xs:annotation>
   
<xs:documentation>The Bank Identifier Code (BIC) of the payee's intermediator. </xs:documentation>
 
</xs:annotation>
</xs:element>

element BankAccountType/IBAN
diagram LetterBundle_V1x0_p37.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type lb:IBANType
properties
content simple
facets
Kind Value Annotation
pattern ^[A-Z]{2}[0-9]{2}[A-Z0-9]{6,30}$
annotation
documentation
The International Bank Account Number (IBAN)
source <xs:element name="IBAN" type="lb:IBANType">
 
<xs:annotation>
   
<xs:documentation>The International Bank Account Number (IBAN)</xs:documentation>
 
</xs:annotation>
</xs:element>

element BankAccountType/BBAN
diagram LetterBundle_V1x0_p38.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type lb:BBANType
properties
content simple
facets
Kind Value Annotation
maxLength 30
annotation
documentation
The Basic Bank Account Number (BBAN). This the 'old' format for bank account. It is strongly recommended to use BIC + IBAN instead of BBAN.
source <xs:element name="BBAN" type="lb:BBANType">
 
<xs:annotation>
   
<xs:documentation>The Basic Bank Account Number (BBAN). This the 'old' format for bank account. It is strongly recommended to use BIC + IBAN instead of BBAN.</xs:documentation>
 
</xs:annotation>
</xs:element>

element BankAccountType/CountryCode
diagram LetterBundle_V1x0_p39.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type restriction of xs:string
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
length 2
annotation
documentation
The two letter country code using the ISO3166 standard.
source <xs:element name="CountryCode" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The two letter country code using the ISO3166 standard. </xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:length value="2"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>

complexType BundleLetter
diagram LetterBundle_V1x0_p40.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
children lb:LetterMeta
used by
element Letter
attributes
Name  Type  Use  Default  Fixed  Annotation
senderLetterId          
documentation
Sender's ID for the letter.
letterId  xs:string  optional      
documentation
Posti set this ID for the letter.
annotation
documentation
Letter element in the LetterBundle XML
source <xs:complexType name="BundleLetter">
 
<xs:annotation>
   
<xs:documentation>Letter element in the LetterBundle XML</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element ref="lb:LetterMeta">
     
<xs:annotation>
       
<xs:documentation>Meta data of on letter. </xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
 
<xs:attribute name="senderLetterId">
   
<xs:annotation>
     
<xs:documentation>Sender's ID for the letter.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="letterId" type="xs:string" use="optional">
   
<xs:annotation>
     
<xs:documentation>Posti set this ID for the letter.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:complexType>

attribute BundleLetter/@senderLetterId
annotation
documentation
Sender's ID for the letter.
source <xs:attribute name="senderLetterId">
 
<xs:annotation>
   
<xs:documentation>Sender's ID for the letter.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute BundleLetter/@letterId
type xs:string
properties
use optional
annotation
documentation
Posti set this ID for the letter.
source <xs:attribute name="letterId" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>Posti set this ID for the letter.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

complexType ElectronicAddressType
diagram LetterBundle_V1x0_p41.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
used by
elements LetterMeta/Recipient/ElectronicAddress LetterMeta/Recipient/PreferredElectronicAddress
attributes
Name  Type  Use  Default  Fixed  Annotation
address  xs:string  required      
documentation
The address in the electronic delivery channel.
For example Netposti uses ElectronicAddressID that uses the  form 99999999-Q, where 99999999 is the OTS customer number of the recipient. The -Q part, where Q is the checksum character, is optional. For example, valid electronic addresses of Netposti are 00345213 and 00345213-R.
channelName  derived by: xs:string  required      
documentation
The name of the electronic channel.
annotation
documentation
The address used in the  electronic delivery channel
source <xs:complexType name="ElectronicAddressType">
 
<xs:annotation>
   
<xs:documentation>The address used in the  electronic delivery channel</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="address" type="xs:string" use="required">
   
<xs:annotation>
     
<xs:documentation>The address in the electronic delivery channel.
For example Netposti uses ElectronicAddressID that uses the  form 99999999-Q, where 99999999 is the OTS customer number of the recipient. The -Q part, where Q is the checksum character, is optional. For example, valid electronic addresses of Netposti are 00345213 and 00345213-R.
</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="channelName" use="required">
   
<xs:annotation>
     
<xs:documentation>The name of the electronic channel.</xs:documentation>
   
</xs:annotation>
   
<xs:simpleType>
     
<xs:restriction base="xs:string">
       
<xs:enumeration value="None"/>
       
<xs:enumeration value="Netpost"/>
     
</xs:restriction>
   
</xs:simpleType>
 
</xs:attribute>
</xs:complexType>

attribute ElectronicAddressType/@address
type xs:string
properties
use required
annotation
documentation
The address in the electronic delivery channel.
For example Netposti uses ElectronicAddressID that uses the  form 99999999-Q, where 99999999 is the OTS customer number of the recipient. The -Q part, where Q is the checksum character, is optional. For example, valid electronic addresses of Netposti are 00345213 and 00345213-R.
source <xs:attribute name="address" type="xs:string" use="required">
 
<xs:annotation>
   
<xs:documentation>The address in the electronic delivery channel.
For example Netposti uses ElectronicAddressID that uses the  form 99999999-Q, where 99999999 is the OTS customer number of the recipient. The -Q part, where Q is the checksum character, is optional. For example, valid electronic addresses of Netposti are 00345213 and 00345213-R.
</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute ElectronicAddressType/@channelName
type restriction of xs:string
properties
use required
facets
Kind Value Annotation
enumeration None
enumeration Netpost
annotation
documentation
The name of the electronic channel.
source <xs:attribute name="channelName" use="required">
 
<xs:annotation>
   
<xs:documentation>The name of the electronic channel.</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:enumeration value="None"/>
     
<xs:enumeration value="Netpost"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

complexType MailAddress
diagram LetterBundle_V1x0_p42.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
children lb:Eu1
used by
elements LetterMeta/Recipient/Address LetterMeta/Sender/Address LetterMeta/LetterDetails/BankTransfer/PayeeAddress BundleCommon/Sender/SenderAddress
annotation
documentation
Mail address
source <xs:complexType name="MailAddress">
 
<xs:annotation>
   
<xs:documentation>Mail address</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Eu1">
     
<xs:annotation>
       
<xs:documentation>Address format eu1. Valid format in Finland.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:attribute name="Row0" use="optional">
         
<xs:annotation>
           
<xs:documentation>Row0: Person title, customer number etc.</xs:documentation>
         
</xs:annotation>
         
<xs:simpleType>
           
<xs:restriction base="xs:string">
             
<xs:whiteSpace value="preserve"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="name" use="required">
         
<xs:annotation>
           
<xs:documentation>Row1: The name of the person or the organisation.</xs:documentation>
         
</xs:annotation>
         
<xs:simpleType>
           
<xs:restriction base="xs:string">
             
<xs:whiteSpace value="preserve"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="nameAddition" type="xs:string" use="optional">
         
<xs:annotation>
           
<xs:documentation>Row2: Addition for the name. Example: department, office or revisor.</xs:documentation>
         
</xs:annotation>
       
</xs:attribute>
       
<xs:attribute name="Row3" type="xs:string" use="optional">
         
<xs:annotation>
           
<xs:documentation>Row3: This is not used for the delivery. Here can be street address even if the address (Row4) is for the Post Box.</xs:documentation>
         
</xs:annotation>
       
</xs:attribute>
       
<xs:attribute name="address" use="required">
         
<xs:annotation>
           
<xs:documentation>Row4: The delivery address</xs:documentation>
         
</xs:annotation>
         
<xs:simpleType>
           
<xs:restriction base="xs:string">
             
<xs:whiteSpace value="preserve"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="postalCode" use="required">
         
<xs:annotation>
           
<xs:documentation>Row5a: Use the standard of each country for the postal codes without the country code. In Finland the length of the postal code is always 5 digits. </xs:documentation>
         
</xs:annotation>
         
<xs:simpleType>
           
<xs:restriction base="xs:string">
             
<xs:whiteSpace value="preserve"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="city" use="required">
         
<xs:annotation>
           
<xs:documentation>Row5b: the city</xs:documentation>
         
</xs:annotation>
         
<xs:simpleType>
           
<xs:restriction base="xs:string">
             
<xs:whiteSpace value="preserve"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="countryCode" use="required">
         
<xs:annotation>
           
<xs:documentation>Row6: Example FI. The two letter country code using the ISO3166 standard. If the country code is unknown then use XX.</xs:documentation>
         
</xs:annotation>
         
<xs:simpleType>
           
<xs:restriction base="xs:string">
             
<xs:length value="2"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element MailAddress/Eu1
diagram LetterBundle_V1x0_p43.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
properties
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
Row0  derived by: xs:string  optional      
documentation
Row0: Person title, customer number etc.
name  derived by: xs:string  required      
documentation
Row1: The name of the person or the organisation.
nameAddition  xs:string  optional      
documentation
Row2: Addition for the name. Example: department, office or revisor.
Row3  xs:string  optional      
documentation
Row3: This is not used for the delivery. Here can be street address even if the address (Row4) is for the Post Box.
address  derived by: xs:string  required      
documentation
Row4: The delivery address
postalCode  derived by: xs:string  required      
documentation
Row5a: Use the standard of each country for the postal codes without the country code. In Finland the length of the postal code is always 5 digits.
city  derived by: xs:string  required      
documentation
Row5b: the city
countryCode  derived by: xs:string  required      
documentation
Row6: Example FI. The two letter country code using the ISO3166 standard. If the country code is unknown then use XX.
annotation
documentation
Address format eu1. Valid format in Finland.
source <xs:element name="Eu1">
 
<xs:annotation>
   
<xs:documentation>Address format eu1. Valid format in Finland.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:attribute name="Row0" use="optional">
     
<xs:annotation>
       
<xs:documentation>Row0: Person title, customer number etc.</xs:documentation>
     
</xs:annotation>
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:whiteSpace value="preserve"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="name" use="required">
     
<xs:annotation>
       
<xs:documentation>Row1: The name of the person or the organisation.</xs:documentation>
     
</xs:annotation>
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:whiteSpace value="preserve"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="nameAddition" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>Row2: Addition for the name. Example: department, office or revisor.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="Row3" type="xs:string" use="optional">
     
<xs:annotation>
       
<xs:documentation>Row3: This is not used for the delivery. Here can be street address even if the address (Row4) is for the Post Box.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="address" use="required">
     
<xs:annotation>
       
<xs:documentation>Row4: The delivery address</xs:documentation>
     
</xs:annotation>
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:whiteSpace value="preserve"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="postalCode" use="required">
     
<xs:annotation>
       
<xs:documentation>Row5a: Use the standard of each country for the postal codes without the country code. In Finland the length of the postal code is always 5 digits. </xs:documentation>
     
</xs:annotation>
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:whiteSpace value="preserve"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="city" use="required">
     
<xs:annotation>
       
<xs:documentation>Row5b: the city</xs:documentation>
     
</xs:annotation>
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:whiteSpace value="preserve"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute name="countryCode" use="required">
     
<xs:annotation>
       
<xs:documentation>Row6: Example FI. The two letter country code using the ISO3166 standard. If the country code is unknown then use XX.</xs:documentation>
     
</xs:annotation>
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:length value="2"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute MailAddress/Eu1/@Row0
type restriction of xs:string
properties
use optional
facets
Kind Value Annotation
whiteSpace preserve
annotation
documentation
Row0: Person title, customer number etc.
source <xs:attribute name="Row0" use="optional">
 
<xs:annotation>
   
<xs:documentation>Row0: Person title, customer number etc.</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:whiteSpace value="preserve"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute MailAddress/Eu1/@name
type restriction of xs:string
properties
use required
facets
Kind Value Annotation
whiteSpace preserve
annotation
documentation
Row1: The name of the person or the organisation.
source <xs:attribute name="name" use="required">
 
<xs:annotation>
   
<xs:documentation>Row1: The name of the person or the organisation.</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:whiteSpace value="preserve"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute MailAddress/Eu1/@nameAddition
type xs:string
properties
use optional
annotation
documentation
Row2: Addition for the name. Example: department, office or revisor.
source <xs:attribute name="nameAddition" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>Row2: Addition for the name. Example: department, office or revisor.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute MailAddress/Eu1/@Row3
type xs:string
properties
use optional
annotation
documentation
Row3: This is not used for the delivery. Here can be street address even if the address (Row4) is for the Post Box.
source <xs:attribute name="Row3" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>Row3: This is not used for the delivery. Here can be street address even if the address (Row4) is for the Post Box.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute MailAddress/Eu1/@address
type restriction of xs:string
properties
use required
facets
Kind Value Annotation
whiteSpace preserve
annotation
documentation
Row4: The delivery address
source <xs:attribute name="address" use="required">
 
<xs:annotation>
   
<xs:documentation>Row4: The delivery address</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:whiteSpace value="preserve"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute MailAddress/Eu1/@postalCode
type restriction of xs:string
properties
use required
facets
Kind Value Annotation
whiteSpace preserve
annotation
documentation
Row5a: Use the standard of each country for the postal codes without the country code. In Finland the length of the postal code is always 5 digits.
source <xs:attribute name="postalCode" use="required">
 
<xs:annotation>
   
<xs:documentation>Row5a: Use the standard of each country for the postal codes without the country code. In Finland the length of the postal code is always 5 digits. </xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:whiteSpace value="preserve"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute MailAddress/Eu1/@city
type restriction of xs:string
properties
use required
facets
Kind Value Annotation
whiteSpace preserve
annotation
documentation
Row5b: the city
source <xs:attribute name="city" use="required">
 
<xs:annotation>
   
<xs:documentation>Row5b: the city</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:whiteSpace value="preserve"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute MailAddress/Eu1/@countryCode
type restriction of xs:string
properties
use required
facets
Kind Value Annotation
length 2
annotation
documentation
Row6: Example FI. The two letter country code using the ISO3166 standard. If the country code is unknown then use XX.
source <xs:attribute name="countryCode" use="required">
 
<xs:annotation>
   
<xs:documentation>Row6: Example FI. The two letter country code using the ISO3166 standard. If the country code is unknown then use XX.</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:length value="2"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

complexType TextWithLanguageType
diagram LetterBundle_V1x0_p44.png
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
used by
elements LetterMeta/Sender/name LetterMeta/LetterDetails/Subject
attributes
Name  Type  Use  Default  Fixed  Annotation
language  xs:language  optional      
documentation
The language code as defined by RFC 3066. Examples: "fi" = Finnish, "fi-FI" = Finnish, "sv-SE" = Swedish, "en-GB" = English (Great Britain)
text  xs:string  required      
annotation
documentation
Text element that has language attribute
source <xs:complexType name="TextWithLanguageType">
 
<xs:annotation>
   
<xs:documentation>Text element that has language attribute</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="language" type="xs:language" use="optional">
   
<xs:annotation>
     
<xs:documentation>The language code as defined by RFC 3066. Examples: "fi" = Finnish, "fi-FI" = Finnish, "sv-SE" = Swedish, "en-GB" = English (Great Britain)</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="text" type="xs:string" use="required"/>
</xs:complexType>

attribute TextWithLanguageType/@language
type xs:language
properties
use optional
annotation
documentation
The language code as defined by RFC 3066. Examples: "fi" = Finnish, "fi-FI" = Finnish, "sv-SE" = Swedish, "en-GB" = English (Great Britain)
source <xs:attribute name="language" type="xs:language" use="optional">
 
<xs:annotation>
   
<xs:documentation>The language code as defined by RFC 3066. Examples: "fi" = Finnish, "fi-FI" = Finnish, "sv-SE" = Swedish, "en-GB" = English (Great Britain)</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute TextWithLanguageType/@text
type xs:string
properties
use required
source <xs:attribute name="text" type="xs:string" use="required"/>

simpleType BBANType
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type restriction of xs:string
properties
base xs:string
used by
element BankAccountType/BBAN
facets
Kind Value Annotation
maxLength 30
annotation
documentation
The international notation for bank account numbers specified by European Banking Standard EBS204 and ISO standard 13616.The BBAN (Basic Bank Account Number) consists up to thirty alphanumeric characters for the domestic bank account number. It is up to each country's national banking community to decide on the length of the BBAN for accounts in that country, but its length must be fixed for any given country.
source <xs:simpleType name="BBANType">
 
<xs:annotation>
   
<xs:documentation>The international notation for bank account numbers specified by European Banking Standard EBS204 and ISO standard 13616.The BBAN (Basic Bank Account Number) consists up to thirty alphanumeric characters for the domestic bank account number. It is up to each country's national banking community to decide on the length of the BBAN for accounts in that country, but its length must be fixed for any given country.
</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:maxLength value="30"/>
 
</xs:restriction>
</xs:simpleType>

simpleType BICType
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type restriction of xs:string
properties
base xs:string
used by
element BankAccountType/BIC
facets
Kind Value Annotation
pattern ([A-Z0-9]{8}|[A-Z0-9]{11})
annotation
documentation
The international notation for bank identifier codes specified by European Banking Standard EBS204 and ISO standard 13616. The BIC (Bank Identifier Code) consists either 8 or 11 alphanumeric characters for the domestic intermediator.
source <xs:simpleType name="BICType">
 
<xs:annotation>
   
<xs:documentation>The international notation for bank identifier codes specified by European Banking Standard EBS204 and ISO standard 13616. The BIC (Bank Identifier Code) consists either 8 or 11 alphanumeric characters for the domestic intermediator.</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:pattern value="([A-Z0-9]{8}|[A-Z0-9]{11})"/>
 
</xs:restriction>
</xs:simpleType>

simpleType IBANType
namespace urn:itella.com:/schema/ipost/letterbundle/v1x0
type restriction of xs:string
properties
base xs:string
used by
element BankAccountType/IBAN
facets
Kind Value Annotation
pattern ^[A-Z]{2}[0-9]{2}[A-Z0-9]{6,30}$
annotation
documentation
The international notation for bank account numbers specified by European Banking Standard EBS204 and ISO standard 13616. The IBAN consists of a ISO 3166-1 alpha-2 country code, followed by two check digits, and up to thirty alphanumeric characters for the domestic bank account number, called the BBAN (Basic Bank Account Number). It is up to each country's national banking community to decide on the length of the BBAN for accounts in that country, but its length must be fixed for any given country.
source <xs:simpleType name="IBANType">
 
<xs:annotation>
   
<xs:documentation>The international notation for bank account numbers specified by European Banking Standard EBS204 and ISO standard 13616. The IBAN consists of a ISO 3166-1 alpha-2 country code, followed by two check digits, and up to thirty alphanumeric characters for the domestic bank account number, called the BBAN (Basic Bank Account Number). It is up to each country's national banking community to decide on the length of the BBAN for accounts in that country, but its length must be fixed for any given country.</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:pattern value="^[A-Z]{2}[0-9]{2}[A-Z0-9]{6,30}$"/>
 
</xs:restriction>
</xs:simpleType>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy